date.hfile | source file

This header defines the Date and TimeZone intrinsic classes.

Summary of Classes

`Date TimeZone`

Summary of Global Functions

(none)

Summary of Macros

`DateAMPM DateEra DateFmt12Hour DateFmt24Hour DateFmt24HourSecs DateFmtDate DateFmtShortDate DateFmtTime DateFmtTimestamp DateMonthAbbrs DateMonthNames DateOrdSuffixes DateParseFilter DateWeekdayAbbrs DateWeekdayNames`

Summary of Enums

(none)

Summary of Templates

(none)

Global Functions

(none)

Macros

`DateAMPM` | `date.h[353]`

`4`
AM/PM indicators - AM,PM

`DateEra` | `date.h[356]`

`5`
"era" indicator - AD=CE,BC=BCE

`DateFmt12Hour` | `date.h[407]`

`12`
12-hour clock format. The default is '%#I:%M:%S %P' ('5:30:22 PM').

`DateFmt24Hour` | `date.h[412]`

`13`
24-hour clock format. The default is '%H:%M' (17:30).

`DateFmt24HourSecs` | `date.h[418]`

`14`
24-hour clock format with seconds. The default is '%H:%M:%S' (17:30:22).

`DateFmtDate` | `date.h[397]`

`10`
Default local format for the date, without the time. The default is '%m/%d/%Y' (02/15/2012).

`DateFmtShortDate` | `date.h[402]`

`11`
Local short date format. The default is '%m/%d/%y' (02/15/12).

`DateFmtTime` | `date.h[391]`

`9`
Default local format for the time, without the date. The default is '%H:%M:%S' ('18:44:39').

`DateFmtTimestamp` | `date.h[385]`

`8`
Default local format for date/time stamps. This is a format string suitable for use in formatDate(). The default is '%a %b %#d %T %Y' (which produces, e.g., 'Thu Feb 7 15:20:33 2009').

`DateMonthAbbrs` | `date.h[344]`

`1`
month name abbreviations - Jan,Feb,Mar...

`DateMonthNames` | `date.h[341]`

`0`
full names of months - January,February,March,...

`DateOrdSuffixes` | `date.h[378]`

`7`
Ordinal suffixes for 1st, 2nd, 3rd, Nth, X1st, X2nd, Xrd. 'Nth' is the suffix for everything not otherwise enumerated. 'X1st' is the suffix for the 21st, 31st, 1041st, etc - this applies to all of the decades except the units and teens; likewise for 'X2nd' and 'X3rd'. Specify only the suffix; e.g., for English, 'st,nd,rd,th,st,nd,rd'. If all of the items after a given point are the same for the target language, you can omit them, and the last item in the list will be used for all missing items; e.g., French can specify simply 'er,e', and German can specify simply '.'.

`DateParseFilter` | `date.h[365]`

`6`
Parsing filter for culture-specific date formats. This can be 'us' to select the US-style formats, or 'eu' to select European-style formats. This controls day/month or month/day order when parsing numeric dates - the 'us' formats use the "month/day" style, as in 11/20 for November 20, and the 'eu' formats use "day/month", as in 20/11.

`DateWeekdayAbbrs` | `date.h[350]`

`3`
abbreviated weekday names - Sun,Mon,Tue,...

`DateWeekdayNames` | `date.h[347]`

`2`
full names of weekdays - Sunday,Monday,Tuesday,...

Enums

(none)

Templates

(none)

Adv3Lite Library Reference Manual
Generated on 28/03/2016 from adv3Lite version 1.5