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`_. .. _DATE_TRUNC: http://www.postgresql.org/docs/9.1/static/functions-datetime.html#FUNCTIONS-DATETIME-TRUNC :mod:`datetime_truncate` datetime_truncate ------------------------------------------ .. automodule:: datetime_truncate :members: Indices and tables ================== * :ref:`genindex` * :ref:`search`