Date
Date Format
Format date with a custom format.
Expression:
DATE_FORMAT(date: string, format: string)
Return:
formatedString: string
Example of usage:
Current Date
Returns the current date as ISO-8601 string.
Expression:
DATE_NOW()
Return:
ISO-8601 date string: string
Example of usage:
Date Difference
Returns a difference between two dates in the required time or date format.
Expression:
DATE_DIFF(date1: string, date2: string, format?: string = "seconds
")
format_types = (years
, months
, days
, hours
, minutes
, seconds
) || seconds
Return:
{format_types: float}
Example of usage:
Last updated