GlareDB

Date and Time Function References

date_part

Get a subfield.

date_trunc

Truncates a timestamp to the specified precision.

epoch

Converts a Unix timestamp in seconds to a timestamp.

epoch_ms

Converts a Unix timestamp in milliseconds to a timestamp.

epoch_s

Converts a Unix timestamp in seconds to a timestamp.