NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Named Date/Time Formats (Format Function)

The following table identifies the predefined date and time format names:

Format Name Description
General Date Display a date and/or time. For real numbers, display a date and time, for example, 4/3/93 05:34 PM.If there is no fractional part, display only a date, for example, 4/3/93. If there is no integer part, display time only, for example, 05:34 PM. Date display is determined by your locale.
Long Date Display a date according to your locale's long date format.
Medium Date Display a date using the medium date format appropriate for the language version of the host application.
Short Date Display a date using your locale's short date format.
Long Time Display a time using your locale's long time format; includes hours, minutes, seconds.
Medium Time Display time in 12-hour format using hours and minutes and the AM/PM designator.
Short Time Display a time using the 24-hour format, for example, 17:45.

See Also

Format Function | Named Numeric Formats (Format Function) | User-Defined Date/Time Formats (Format Function)