Page tree
Skip to end of metadata
Go to start of metadata

Description

NumberFormat values for Date data types

C#
vb.net

Values

Name

Description

DayMonthYear

d-mmm-yyyy;@ For example, 2-Feb-08.)

DayOfWeekMonthDayYear

dddd, mmmm dd, yyyy (For example, Saturday, February 2, 2008.)

FullTextMonthDayYear

mmmm d, yyyy;@ (For example, February 2, 2008.)

FullTextMonthYear

mmmm-yy;@ (For example, February-08.)

MonthDay

m/d;@
(For example 2/2 for February 2nd.)

MonthDayYear

m/d/yy;@
(For example, 2/2/08.)

MonthDayYearHourMinute12

m/d/yy h:mm AM/PM;@ (For example, 2/2/08 12:00 AM)

MonthDayYearHourMinute24

m/d/yy h:mm;@ (For example, 2/2/08 0:00)

MonthDayYearPreserveLeadingZero

mm/dd/yy;@
(For example, 02/02/08.)

MonthSingleLetter

mmmmm;@ (For example, D for December or S for Septmeber.)

MonthSingleLetterYear

mmmmm-yy;@ (For example, F-08 for February 2008.)

TextDayMonth

d-mmm;@
(For example, 2-Feb.)

TextDayMonthYear

d-mmm-yy;@
(For example, 2-Feb-08.)

TextDayMonthYearPreserveLeadingZero

dd-mmm-yy;@
(For example, 02-Feb-08.)

TextMonthYear

mmm-yy;@ (For example, Feb-08.)

  • No labels