Fields / Formula / function

DateTime

Turns a Date or text into a Date/Time.

Syntax

DateTime(value, zone?)

Returns

Date/Time or null.

Example

DateTime("2026-10-10 14:30:00")

Notes and limitations

A Date becomes the start of that date on the clock of the person using it. Text is written like 2026-10-10 14:30:00; a time with no zone is read on the clock of the person using it, one with a zone (2026-10-10T14:30:00Z) is that moment. Null and empty text give null. With a time zone (optional, as in Today), text is read on that zone's clock: DateTime("2026-10-10 09:00:00", "America/New_York") is 9:00 AM in New York. A plain Date ignores the zone and becomes the start of that date on the clock of the person using it.