I got a very interesting problem in calculating time delta for certain time-series events. Here goes my example,
eventstarttime eventcode 2021-01-1