HighAndWilder
Well-known Member
- Joined
- Nov 4, 2006
- Messages
- 660
- Office Version
- 365
- Platform
- Windows
Hi
I would like to be able to subtract a combination of hours, minutes and seconds from a date and time.
The resultant time may be in the previous day and that is where the problem is.
For example :
10/08/2019 01:08:00
I would like to be able to subtract 1 hour and 15 minutes from this time which should result in the following:
09/08/2019 23:53:00 a time in the previous day.
Does anybody know how to do this?
I would like to represent the time elements to subtract as negative numbers and add them to the time so that I can, using the above example, add minus 1 hour and minus 15 minutes to 10/08/2019 01:08:00.
Thanks
I would like to be able to subtract a combination of hours, minutes and seconds from a date and time.
The resultant time may be in the previous day and that is where the problem is.
For example :
10/08/2019 01:08:00
I would like to be able to subtract 1 hour and 15 minutes from this time which should result in the following:
09/08/2019 23:53:00 a time in the previous day.
Does anybody know how to do this?
I would like to represent the time elements to subtract as negative numbers and add them to the time so that I can, using the above example, add minus 1 hour and minus 15 minutes to 10/08/2019 01:08:00.
Thanks