why functions TimeLocal & TimeCurrent always give me this date 16.07.07 23:59:59 ?
Who know how to get the PC system date & time?
Function
Action |
|
Returns the last known server time (time of the last quote receipt) in the datetime format |
|
Returns the current calculation time of the trade server |
|
Returns the local computer time in datetime format |
|
Returns GMT in datetime format with the Daylight Saving Time by local time of the computer, where the client terminal is running |
|
Returns the sign of Daylight Saving Time switch |
|
Returns the current difference between GMT time and the local computer time in seconds, taking into account DST switch |
|
Converts a datetime value into a variable of MqlDateTime structure type |
|
Converts a variable of MqlDateTime structure type into a datetime value |
Function
Action |
|
Returns the last known server time (time of the last quote receipt) in the datetime format |
|
Returns the current calculation time of the trade server |
|
Returns the local computer time in datetime format |
|
Returns GMT in datetime format with the Daylight Saving Time by local time of the computer, where the client terminal is running |
|
Returns the sign of Daylight Saving Time switch |
|
Returns the current difference between GMT time and the local computer time in seconds, taking into account DST switch |
|
Converts a datetime value into a variable of MqlDateTime structure type |
|
Converts a variable of MqlDateTime structure type into a datetime value |
During testing in the strategy tester, TimeCurrent() is simulated.

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
why functions TimeLocal & TimeCurrent always give me this date 16.07.07 23:59:59 ?
Who know how to get the PC system date & time?