The DateFormat may be any combination of characters that include
Date::SetFormat "MMM, DD/YYYY T12m"
Return the string used to set the current date format. This is usefull to save the current date format, temporarily set a new date format and finally set the format back to the original.
Compare the date and time according to the DateFormat returning
Date1 < Date2 return -1
Date1 = Date2 return 0
Date1 > Date2 return 1
Return a new Date that is advanced or retreated by the adjustment specified. Adjustments can be any combination of years, months, weeks days, hours, minutes or seconds with an optional modifier of "ago" to indicate in the past.
The adjustment may also be the full day of the week (Thursday) to return the same time on the specified day of the week that Date falls in. Sunday is the first day of the week.
Return the current date from the operating system with the time specified by relative.
Return the current date and time from the operating system
Return the current day of the week in either short, long or numeric form. The default is short.
Return the current day of the month in either short (no leading zero) or long (always two digits). The default is short.
Return the current month of the year in either short, long or numeric form. The default is short.
Return the year in either long (4 digit), or short (2 digit) format. The default is long.
Return the hour in either long (2 digit), or short (no leading zero) format. The default is short.
Return the minute in either long (2 digit), or short (no leading zero) format. The default is short.
Return the second in either long (2 digit), or short (no leading zero) format. The default is short.
Convert the date specified in the format set with SetFormat to the format specified in Format. See SetFormat for the options of Format.
Return a string specifying the number of days, hours, minutes and seconds from Date1 to Date2. This information is in a format ready for the Adjust routine.
Return the number of seconds equivilent to the contents of the string DateApart. DateAppart must be in the format returned by the Apart routine. This is included so that you can set timers using the TCL after command based on date differences.
Interpret the format free date DateString and return a string date of the format specified with SetFormat.
Test the most critical date routines. Returns 0 if no errors encountered, otherwise return 1. If "detail" is included, display the results of the tests as they are made.