date.hfilesource 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  

DateAMPMdate.h[353]

4
AM/PM indicators - AM,PM

DateEradate.h[356]
5
"era" indicator - AD=CE,BC=BCE

DateFmt12Hourdate.h[407]
12
12-hour clock format. The default is '%#I:%M:%S %P' ('5:30:22 PM').

DateFmt24Hourdate.h[412]
13
24-hour clock format. The default is '%H:%M' (17:30).

DateFmt24HourSecsdate.h[418]
14
24-hour clock format with seconds. The default is '%H:%M:%S' (17:30:22).

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

DateFmtShortDatedate.h[402]
11
Local short date format. The default is '%m/%d/%y' (02/15/12).

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

DateFmtTimestampdate.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').

DateMonthAbbrsdate.h[344]
1
month name abbreviations - Jan,Feb,Mar...

DateMonthNamesdate.h[341]
0
full names of months - January,February,March,...

DateOrdSuffixesdate.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 '.'.

DateParseFilterdate.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.

DateWeekdayAbbrsdate.h[350]
3
abbreviated weekday names - Sun,Mon,Tue,...

DateWeekdayNamesdate.h[347]
2
full names of weekdays - Sunday,Monday,Tuesday,...

Enums  

(none)

Templates  

(none)

TADS 3 Library Manual
Generated on 5/16/2013 from TADS version 3.1.3