hsntools.timestamps.dates.convert_time_to_date¶
- hsntools.timestamps.dates.convert_time_to_date(timestamp, tz=None)[source]¶
Convert a time value to a datetime date.
- Parameters:
- timestampfloat
Timestamp value to convert.
- tzdateutil.tz.tz, optional
Timezone information. If not provided, defaults to the local time zone.
- Returns:
- datedatetime.datetime
Date corresponding to the given timestamp.