How would you do time subtraction and time comparision?
I'm looking to perform the following:
For example:
Time subtraction:
3 hours off
20060308 02:00:00.000 - 3 hours => 20060307 23:00:00.000
1 day off
20060308 02:00:00.000 - 1 day => 20060307 02:00:00.000
Time comparision:
How to compare:
20060308 02:00:00.000 > 20060302 02:00:00.000
Thanks!
I'm looking to perform the following:
For example:
Time subtraction:
3 hours off
20060308 02:00:00.000 - 3 hours => 20060307 23:00:00.000
1 day off
20060308 02:00:00.000 - 1 day => 20060307 02:00:00.000
Time comparision:
How to compare:
20060308 02:00:00.000 > 20060302 02:00:00.000
Thanks!