System.Globalization.TaiwanCalendar.GetDayOfWeek Method

Returns the day of the week in the specified DateTime.

Syntax

public override DayOfWeek GetDayOfWeek (DateTime time)

Parameters

time
The DateTime to read.

Returns

A DayOfWeek value that represents the day of the week in the specified DateTime.

Remarks

The DayOfWeek values are as follows:

Sunday

星期日

Monday

星期一

Tuesday

星期二

Wednesday

星期三

Thursday

星期四

Friday

星期五

Saturday

星期六

Requirements

Namespace: System.Globalization
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0