Let me try to guess this tune from one note. Offset between the time on the server and on the local computer))))))
I assume this is followed by a second question: how to determine it. But here too, the answer is simple: subtract from one time the other))))
And here all the questioners should pretend to understand everything, so as not to show themselves with their redundant questions from the stupid side...
That's how the forum lives here. Some pretend to explain, others pretend to understand.
And when it comes to clarifying the truth, everyone silently disperses, as if it's not the king's business, like everyone has always known and understood it.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Spread the idea around a bit, please. Started on Saturday. We have TimeCurrent() - Friday 23:59:59. Now what?
Subtract the time offset from TimeLocal.
Subtract the time offset from TimeLocal.
And take into account the change to winter/summer time.
Subtract the time offset from TimeLocal.
What offset?
What kind of displacement?
Let me try to guess this tune from one note. Offset between the time on the server and on the local computer))))))
I assume this is followed by a second question: how to determine it. But here too, the answer is simple: subtract from one time the other))))
And here all the questioners should pretend to understand everything, so as not to show themselves with their redundant questions from the stupid side...
That's how the forum lives here. Some pretend to explain, others pretend to understand.
And when it comes to clarifying the truth, everyone silently disperses, as if it's not the king's business, like everyone has always known and understood it.fxsaber once wrotea function to get server time on weekends
What offset?
Between the time zones of the server and the computer.
fxsaber once wrotea function to get server time on weekends
Did you look at the code, did you understand anything?
Between server and computer time zones.
How about calling TimeCurrent() andTimeTradeServer() in MT5 and seeing the difference in their values?
Did you look at the code, did you understand anything?
The code is clear, I got used to Saber's style a long time ago, his codes are minimalistic and readable.
He wrote this function at my request, for which I thank him.
Can you call TimeCurrent() andTimeTradeServer() in MT5 and see how their values differ?
I can do it and see. If you have something to say, go ahead.