Change time storage to nanosecond epoch