dctools.utilities.misc_utils.list_all_days

dctools.utilities.misc_utils.list_all_days(start_date, end_date)

Return a list of datetime.datetime objects for each day between dates.

For each day between start_date and end_date (inclusive).

Parameters:
  • start_date (datetime) – The start of the range.

  • end_date (datetime) – The end of the range.

Returns:

List of dates at 00:00:00 for each day in the range.

Return type:

List[datetime]