Welcome to datetime_utils’s documentation!¶
Python functions for common operations on datetime instances respecting timezones.
Function Overview¶
A brief description of each function in this package is below. More detailed descriptions and advanced usage of the functions follow after that. Click on the function names to go to their detailed descriptions.
- round_datetime : Rounds a datetime object to the period.
- round_datetime_to_15min : Rounds a datetime object to the closest 15 minute.
- is_snapped_to : Checks if a datetime object is snapped to the period.
- is_snapped_to_15min : Checks if a datetime object is snapped to a 15 minute interval.