I resolve my problem.... It was easy in fact.. I had only to add the number of seconds I wish for.
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
Hello,
I would like to know how is it possible to do a condition on a date: for example if (considering that 2 datetime values are store in variables call Date1Val and Date2Val ):
if (Date1Val < DateVal2 - 5Min || Date1Val > Date2Val + 5Min) ...
My problem is concerning the fact to add or to minus the 5 minutes....
Somebody could help me please....
Tahnk you