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
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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.