get_night¶
- dorado.get_night()[source] [edit on github]¶
get_night obtains a timestring for the most recent(previous) night based on local/hardware time provided by datetime. The format follows yyyy-mm-(dd-1)+dd where (dd-1) is last nights day of the month. This currently does not support dates at which the start of the observing night was the last day of the month.
- Parameters:
- None
- Returns:
- night: str
Timestring for the most recent night.