Hi there,
I have a program where I need to calculate the difference between two dates, times more exactly. The two timestamps are always on the same day. As a result the maximum difference (in unix time) is 34560. After I do the subtraction I use strftime() to make it human readable.
Now, as a result of the nature of Unixtime I always start at 01:00:00 instead of 00:00:00. Does anyone have a solution for this? I have looked at the DateDiff() example but I don't think this will work for me. Simply subtracting 3600 (1 hour) from the unix time difference won't work, because I will not get a difference for times < 1 hour.
What am I missing here? Any help would be greatly appreciated.
tom