eodal.utils.timestamps module

Utility functions for working with timestamps.

eodal.utils.timestamps.datetime_to_date(timestamp: str) date[source]

Convert timestamp received from STAC to date objects.

Parameters:

timestamp – Timestamp received from STAC (e.g., ‘2023-05-16T10:15:46.380697Z’).

Returns:

Date object (e.g., 2023-05-16).