Support for Windows epoch time.

Robin: you might find more elegant ways to do the stuff below... but this was a one-off change.

Added support for Windows epoch time, which is handled differently from *nix epoch time. Without testing for a windows operating system, the epoch time thinks the year is 2038.

Also corrected the print command that prints nextTime.