I have a time dependent data set where each frame corresponds to a certain date. I need to show the time annotation, much like what Annotate Time Filter does, but show the date instead of time as a float value. How can I do that?
In python I can convert the time index to a date with
datetime for instance:
init_date = datetime.datetime(2018, 1, 1) time_step = 3600. itime = 20 date = init_date + datetime.timedelta(seconds=itime*time_step) print(date.strftime('%Y-%m-%d %H:%M'))