Try TimeLocal().
ah, I see...
In this case TimeDay(TimeLocal()) should do the trick..
Cheers!
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 everyone,
In one part of my EA I need to compare the local PC's date with the broker's server date, i.e. if ( DateLocal==Day()) { bla bla...
How can the PC's date be queried for this (per tick)? I don't know of a standard MQL4 function for this. Perhaps, some sort of a dll that can be used with
a combination of Windows commands?
Thank you in advance
R