time.h to dictionary