lst_auto_rta.High_Level_analysis_Maps.get_night_timestamp

lst_auto_rta.High_Level_analysis_Maps.get_night_timestamp(today)[source]

Get current timestamp (YYYYMMDD) with respect to the night. It will consider a same night everything run between 08h00 until 07h59 of the next day.

Ex: An observation launched at 04h00 (local time) will refer to the previous day.

Parameters:

today – datetime object datetime object with current local time

Returns:

timestamp: str