Adding to a datetime value
dazamate:
How do you had to a datetime value. One thread said that it is held in seconds.. so to add 3 hours you would datetimevalue + (3*60*60) which would give you a datetime 3 hours ahead but that didn't work
Correct and did work. what ever else you did, didn't
How do you had to a datetime value. One thread said that it is held in seconds.. so to add 3 hours you would datetimevalue + (3*60*60) which would give you a datetime 3 hours ahead but that didn't work
Hey guys
How do you had to a datetime value. One thread said that it is held in seconds.. so to add 3 hours you would datetimevalue + (3*60*60) which would give you a datetime 3 hours ahead but that didn't work
I basically want to use OrderSelect() & OrderOpenTime() and check if my pending orders have been open too long. So I want to compare the order open time with OrderOpenTime()+ x amount of hours...
so I can order them to be deleted if they have been open past the hour expiry time I set.
Thanks guys.