Library for working with dates. Email the mailing list if you encounter issues with internationalization or locale formatting.
Convert a date into a time since midnight (UTC) of 1 January 1990 (i.e. UNIX time). Given the date 23 June 1990 at 11:45AM this returns the corresponding time.
Take a UNIX time and convert it to a Date.
Extract the year of a given date. Given the date 23 June 1990 at 11:45AM
this returns the integer 1990.
Extract the month of a given date. Given the date 23 June 1990 at 11:45AM
this returns the Month Jun as defined below.
Represents the month of the year.
Extract the day of a given date. Given the date 23 June 1990 at 11:45AM
this returns the integer 23.
Extract the day of the week for a given date. Given the date 23 June
1990 at 11:45AM this returns the Day Thu as defined below.
Represents the days of the week.
Extract the hour of a given date. Given the date 23 June 1990 at 11:45AM
this returns the integer 11.
Extract the minute of a given date. Given the date 23 June 1990 at 11:45AM
this returns the integer 45.
Extract the second of a given date. Given the date 23 June 1990 at 11:45AM
this returns the integer 0.
Extract the millisecond of a given date. Given the date 23 June 1990 at 11:45:30.123AM
this returns the integer 123.
Attempt to read a date from a string.