MQL4 Reference
Date & Time functions
TimeLocal
Returns local computer time as number of seconds elapsed from 00:00 January 1, 1970.
Note: At the testing, local time is modelled and is the same as the modelled last known server time.
Sample:
if(TimeLocal()-OrderOpenTime()<360) return(0);
|
|
|