Date.to_string

Date.to_string

Date.to_string

Function

Output date and time in default format.

Syntax

Parameters

No parameters.

Return value

TypeDescription
StringReturns %Y-%m-%d %H:%M:%S format string.

Example

Notes

  • Equivalent to format('%Y-%m-%d %H:%M:%S').