Module date_trunc

Module date_trunc 

Source

Structsยง

DateTruncFunc

Enumsยง

DateTruncGranularity ๐Ÿ”’
Represents the granularity for date truncation operations

Functionsยง

_date_trunc_coarse ๐Ÿ”’
_date_trunc_coarse_with_tz ๐Ÿ”’
_date_trunc_coarse_without_tz ๐Ÿ”’
date_trunc_coarse ๐Ÿ”’
Truncates the single value, expressed in nanoseconds since the epoch, for granularities greater than 1 second, in taking into account that some granularities are not uniform durations of time (e.g. months are not always the same lengths, leap seconds, etc)
general_date_trunc ๐Ÿ”’
general_date_trunc_array_fine_granularity ๐Ÿ”’
Fast path for fine granularities (hour and smaller) that can be handled with simple arithmetic operations without calendar complexity.
parse_tz ๐Ÿ”’
quarter_month ๐Ÿ”’