import datetime 

a = "10-12 11:50:14.069208"
b = "10-12 11:50:14.069339"

dt_a = datetime.datetime.strptime(a, "%m-%d %H:%M:%S.%f").replace(year=2021)
dt_b = datetime.datetime.strptime(b, "%m-%d %H:%M:%S.%f").replace(year=2021)

assert (dt_a > dt_b)...

Continue Reading...

$ gcc ex.c
$ ./a.out
datetime: 09-25 12:32:17.871410

Continue Reading...

$  ./sizeof_time_t
sizeof(time_t): 8

Continue Reading...