Further manipulate the expression as a date-time.
Public Methods | |
DateTime | toDateTime () |
Interpret the expression as a datetime. More... | |
DateTime toDateTime | ( | ) |
Interpret the expression as a datetime.
Warning: If the expression's value is in the local timezone you should chain this with DateTime::toUTC()
SQLite:
time-value
formats.MySQL:
YYYY-MM-DD
or YYYY-MM-DD hh:mm:ss