in reply to increment hh:mm:ss
Caveat:
Unless you're using GMT, or are working within a time zone that does not honor daylight savings time, doing simple math on raw time components will give you the wrong results during two one-hour windows each year.
Since the daylight savings switch happens at 1-2am, this might not be an issue to you. But do be aware.
Using one of the various Data/Time packages is safer.
|
|---|