I am looking for an easy way to find out how much time, hours, minutes, seconds are left until some future date and time? Is there a simple commmand? Thanks in advance.
No, but there have been many routines presented in past threads to convert the difference between two DateTime values (it's in seconds) to HH:MM:SS. In fact some have added DD (days) also.
Please check the FAQs and use the Keyword Search tabs above.
i found this code somewhere in this forum and modified it to my suit. you can do the same.
**************************************************
function timediffs
parameters bd, bt, ed, et
* where bd = beginning date
* bt = beginning time
* ed = ending date
* et = ending time
**************************************************
function timediffn
parameters bd, bt, ed, et
* where bd = beginning date
* bt = beginning time
* ed = ending date
* et = ending time
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.