Need to fix bug in time duration with posix time and deal with day offsets in the code. Something seems off with day duration for long periods of time.