Returns the day of the week in the specified DateTime.
- time
The DateTime to read.
![]()
A DayOfWeek value that represents the day of the week in the specified DateTime.
The DayOfWeek values are as follows:
| Sunday |
星期日 |
| Monday |
星期一 |
| Tuesday |
星期二 |
| Wednesday |
星期三 |
| Thursday |
星期四 |
| Friday |
星期五 |
| Saturday |
星期六 |