Important Note: If time values are given as local time, they must be converted to universal time. Otherwise, you will have a time skewed by the difference between the local time measurement and UTC.
Furthermore, if you use your understand of the problem at hand,
you can easily add or subtract given time units directly (instead of
handling all time in seconds). In this case, you can use any kind of time as input.