Changed time format to int32. This has not been evaluated for bugs.