I don't think so, but you can add and subtract hours. For example, to add 5 hours:
datStartTime = datStartTime + (5 / 24)
This is because date/time variables are like floating point numbers where the integer part is the number of days since (whatever the starting date is, it doesn't matter here) and the fractional part is the fraction of one day that the time represents. Thus 6:00 AM is 6/24 of a day, so the fractional part is .25. Rick Sprague
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.