hestia_earth.utils.date.diff_in_days¶
-
hestia_earth.utils.date.diff_in_days(from_date, to_date)[source]¶ Return the difference in days between two dates.
- Parameters
from_date (str) – Date in string format
to_date (
str) – Date in string format
- Returns
The difference of days between from and to dates with a precision of 1.
- Return type
float