DateTimeFormats Enumeration
Contains formats supported by the DateTimeTransformer element.
Member Name | Description |
AbbreviatedLongDate | Use the long date format with year removed and abbreviated names. |
AbbreviatedShortDate | Use the short date format with year removed and abbreviated names. |
AbbreviateNames | Abbreviate the name of the month or day-of-week. |
AbbreviateYear | Abbreviate the year from four digits to two digits. |
ConvertLocalToUtc | Convert the local time zone to Universal Time Coordinate (UTC). |
ConvertUtcToLocal | Convert UTC to the local time zone. |
Date | Format as a date. |
ForceDayOfWeek | Force the date format to include day-of-week. |
LongDate | Use the long date format. |
LongTime | Use the long time format. |
MonthDay | Use the month day format. |
NoAMPM | Remove the AM/PM indicator, if any. |
NoDayOfWeek | Remove the day-of-week, if any. |
None | No format; empty string is returned. |
NoYear | Remove the year (and era, if any). |
ShortDate | Use the short date format. |
ShortTime | Use the short time format. |
Time | Format as a time. |
YearMonth | Use the year month format. |
Requirements
Platform: Windows Vista Ultimate, Windows Vista Home Premium, and later
See Also