Date
Current date
Returns the current date –> learn more
Return type
date
Parameters
New date
Constructs a date from a year, month, and day –> learn more
Return type
date
Parameters
Date add
Add a period of time to a date –> learn more
Return type
date
Parameters
Date diff
Calculate the distance between two dates –> learn more
Return type
integer
Parameters
Date subtract
Subtract a period of time from a date –> learn more
Return type
date
Parameters
Date truncate
Truncates a date to the nearest boundary –> learn more
Return type
date
Parameters
Date extract
Extracts the date part (e.g, month) from a date –> learn more
Return type
integer
Parameters
Format date
Returns a formatted string from a date –> learn more
Return type
string
Parameters
More details about format strings here
Parse date
Parses a date from a string –> learn more
Return type
date
Parameters
More details about format strings here
Last updated