Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
UNSTABLE: Utilities for dealing with Date objects
The number of milliseconds in a day.
Returns the number of the day in the year in the local time zone.
Returns the number of the day in the year in UTC time.
Calculates the difference of the 2 given dates in various units. If the units are omitted, it returns the difference in the all available units.
Return type for difference.
Formats a date to a string with the specified format.
The number of milliseconds in an hour.
Returns whether the given year is a leap year in UTC time. This always returns the same value regardless of the local timezone.
The number of milliseconds in a minute.
Parses a date string using the specified format string.
The number of milliseconds in a second.
Duration units for DifferenceFormat and
DifferenceOptions.
The number of milliseconds in a week.
Returns the ISO week number of the provided date (1-53).
Returns the number of the day in the year in the local time zone.
Returns the number of the day in the year in UTC time.
Calculates the difference of the 2 given dates in various units. If the units are omitted, it returns the difference in the all available units.
Return type for difference.
Duration units for DifferenceFormat and
DifferenceOptions.
Formats a date to a string with the specified format.
Returns whether the given year is a leap year in UTC time. This always returns the same value regardless of the local timezone.
Parses a date string using the specified format string.
Returns the ISO week number of the provided date (1-53).