Parse date from a string
a string with a date value
The date format expected
The reference date to handle ambiguity or relative dates
Optionaloptions: {additional parsing options
Date
Parse a date currently in ISO format
ISO format date to convert to date object
Optionaloptions: { additionalDigits?: 0 | 1 | 2 }Date string
Extra the "Day" of a date object and return it as a string in YYYY-MM-DD format.
Convert a date value to a string containing only the date parts Throws an exception if the input date cannot be parsed.
Date object or a parseable date string (parsing is done using parseISO)
Default value to a return if input date is null or undefined
A string containing a formatted date or the defValue
Get the current date in YYYY-MM-DD format
Convert an excel compatible serial to a Date object
Excel serial value
Date The equivalent date as a Date object
Format a date as a string
The date to format
Optionalfmt: stringThe date format
string The formatted date
Given a string value in ISO format
string in YYYY-MM-DD foramt
convert an excel compatibitl date serial into a string date in the format YYYY-MM-DD
excel serial value
string
Convert a string value to a date
Optionalformat: string | DateFmtEntry[]OptionalrefDate: Date
Get the current date and time as a date object