index.rst 551 B

12345678910111213141516171819202122
  1. datetime_truncate
  2. =================
  3. This module truncates a datetime object to the level of precision that
  4. you specify, making everything higher than that zero (or one for day
  5. and month).
  6. It is based on PostgreSQL's `DATE_TRUNC`_.
  7. .. _DATE_TRUNC: http://www.postgresql.org/docs/9.1/static/functions-datetime.html#FUNCTIONS-DATETIME-TRUNC
  8. :mod:`datetime_truncate` datetime_truncate
  9. ------------------------------------------
  10. .. automodule:: datetime_truncate
  11. :members:
  12. Indices and tables
  13. ==================
  14. * :ref:`genindex`
  15. * :ref:`search`