Library for working with dates. Email the mailing list if you encounter issues with internationalization or locale formatting.
Get the Date at the moment when this task is run.
Attempt to read a date from a string.
Convert a Date to a time in milliseconds.
A time is the number of milliseconds since the Unix epoch.
Convert a time in milliseconds into a Date.
A time is the number of milliseconds since the Unix epoch.
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 Sat 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.
Representation of a date.