datetime_truncate

This module truncates a datetime object to the level of precision that you specify, making everything higher than that zero (or one for day and month).

It is based on PostgreSQL’s DATE_TRUNC.

datetime_truncate datetime_truncate

Indices and tables