Type representing the DOS file date/time format.
d_time is a signed arithmetic type giving the time elapsed since January 1, 1970. Negative values are for dates preceding 1970. The time unit used is Ticks. Ticks are milliseconds or smaller intervals.
Alias for UTCtoString (deprecated).
Convert from UTC to local time.
Converts UTC time into a text string of the form: "Www Mmm dd hh:mm:ss GMT+-TZ yyyy". For example, "Tue Apr 02 02:04:57 GMT-0800 1996". If time is invalid, i.e. is d_time_nan, the string "Invalid date" is returned.
Benchmarks code for speed assessment and comparison.
Determine the date in the month, 1..31, of the nth weekday.
Compute which day in a month a d_time t is.
Calculates the number of days elapsed since 1 January 1970 until 1 January of the given year.
Determine the number of days in a month, 1..31.
Calculates the number of days that exists in a year.
Get current UTC time.
Get current UTC time.
Calculates the hour from time.
Determines if d_time t is a leap year.
Convert from local time to UTC.
Calculates the minute from time.
Calculates the month from the d_time t.
Calculates the milisecond from time.
Parses s as a textual date string, and returns it as a d_time. If the string is not a valid date, d_time_nan is returned.
Calculates the second from time.
Converts the date portion of time into a text string of the form: "Www Mmm dd yyyy", for example, "Tue Apr 02 1996". If time is invalid, "Invalid date" is returned.
Convert from d_time to DOS file date/time.
Convert from DOS file date/time to d_time.
Compute year and week [1..53] from t. The ISO 8601 week 1 is the first week of the year that includes January 4. Monday is the first day of the week. References: ISO 8601 (Wikipedia)
Converts the time portion of t into a text string of the form: "hh:mm:ss GMT+-TZ", for example, "02:04:57 GMT-0800". If t is invalid, "Invalid date" is returned. The input must be in UTC, and the output is in local time.
Converts t into a text string of the form: "Www, dd Mmm yyyy hh:mm:ss UTC". If t is invalid, "Invalid date" is returned.
Compute which day of the week a d_time t is.
Calculates the year from the d_time t.
Time broken down into its components.
A value for d_time that does not represent a valid time.