calculate discrete time for native time format