cata_log_hub.utils.dates module

cata_log_hub.utils.dates.get_calendar_week_number(dt, week_startpoint=WeekCountingStartpoints.MONDAY)[source]

Get the calendar week number of a datetime.

Parameters:
Return type:

int

Returns:

The week number starting with 1.