M
module
Support.module:Date
Functions
Checks if a date is in the current month
Parameters
Returns
boolean
True if the date is in the current month, false otherwise
Checks if a date is in the current year
Parameters
Returns
boolean
True if the date is in the current year, false otherwise
Checks if a date is today
Parameters
Returns
boolean
True if the date is today, false otherwise
Checks if a date is in the past
Parameters
Returns
boolean
True if the date is in the past, false otherwise
Converts a date to an ISO date string (YYYY-MM-DD)
Parameters
Returns
string
ISO date string in the format YYYY-MM-DD
Converts a Date to a string parameter Alias of toJSON().
Parameters
Returns
string
ISO string representation of the date
Converts a Date to a URL query parameter
Parameters
key
:
string
The key for the query parameter
Returns
string
URL query parameter in the form key=value
