chimeric_tools.TimeΒΆ

Functions

fromDate2Epiweek(DateString)

Return the epidemic week that corresponds to a date in YYYY-mm-dd format

fromDates2Epiweeks(datelist)

Return the epidemic weeks that corresponds to a list of dates in YYYY-mm-dd format

getClosestDay(numericDay)

The user enters a value corresponding to the days of the week: Sunday (0)-Saturday(6) and this function returns the closest date YYYY-mm-dd with this day of the week.

todayEpiWeek()

Return the epidemic week that corresponds to today date in YYYY-mm-dd format