Hello everyone,
Arien't there any date/time functions to add and subtract (hours, minutes, seconds) to derive a new date/time?
For instance, if I wanted to add 360 minutes to a fixed date/time to get a future date/time how would I do it (without having to code the whole thing)?
Thanks for the help! All replies appreciated.
-charliev
Arien't there any date/time functions to add and subtract (hours, minutes, seconds) to derive a new date/time?
For instance, if I wanted to add 360 minutes to a fixed date/time to get a future date/time how would I do it (without having to code the whole thing)?
Thanks for the help! All replies appreciated.
-charliev
//Try int FutureTime=CurTime()+(360*60); Print("FutureTime=",TimeToStr(FutureTime));
Hello everyone,
Arien't there any date/time functions to add and subtract (hours, minutes, seconds) to derive a new date/time?
For instance, if I wanted to add 360 minutes to a fixed date/time to get a future date/time how would I do it (without having to code the whole thing)?
Thanks for the help! All replies appreciated.
-charliev
Arien't there any date/time functions to add and subtract (hours, minutes, seconds) to derive a new date/time?
For instance, if I wanted to add 360 minutes to a fixed date/time to get a future date/time how would I do it (without having to code the whole thing)?
Thanks for the help! All replies appreciated.
-charliev
//Try int FutureTime=CurTime()+(360*60); Print("FutureTime=",TimeToStr(FutureTime));
Yes, converting to seconds before doing the math... gets a little hard when you want to find the time in-between 2 dates.
Thanks for the reply!
-charliev
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
Arien't there any date/time functions to add and subtract (hours, minutes, seconds) to derive a new date/time?
For instance, if I wanted to add 360 minutes to a fixed date/time to get a future date/time how would I do it (without having to code the whole thing)?
Thanks for the help! All replies appreciated.
-charliev