CalendarIdentifiers.Taiwan | taiwan property

Applies to Windows and Windows Phone

Gets the identifier for the Taiwan calendar.


var taiwan = Windows.Globalization.CalendarIdentifiers.taiwan;

Property value

Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]

The string "TaiwanCalendar", which is the identifier for the Taiwan calendar.


The Taiwan calendar works exactly like the Gregorian calendar, except that the year and era are different. The Taiwan calendar system recognizes only the current era.

Leap years in the Taiwan calendar correspond to the same leap years in the Gregorian calendar. A leap year in the Gregorian calendar is defined as a Gregorian year that is evenly divisible by four, except if it is divisible by 100. However, Gregorian years that are divisible by 400 are leap years. A common year has 365 days and a leap year has 366 days.

The Taiwan calendar has 12 months with 28 to 31 days each:

MonthAsNumericString MonthDays in common yearsDays in leap years
11月 (January)3131
22月 (February)2829
33月 (March)3131
44月 (April)3030
55月 (May)3131
66月 (June)3030
77月 (July)3131
88月 (August)3131
99月 (September)3030
1010月 (October)3131
1111月 (November)3030
1212月 (December)3131


February has 29 days during leap years and 28 during common years.

The date January 1, 2012 C.E. in the Gregorian calendar is equivalent to the first day of January in the year 101 of the current era in the Taiwan calendar.

Because the Taiwan calendar corresponds to the Gregorian calendar, Taiwan calendar strings for day of the week names and month names are localized for all supported locales and hence will appear in the language corresponding to the ResolvedLanguage property of the calendar object.


Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]


Windows::Globalization [C++]



See also




© 2014 Microsoft