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.
try this
but GMT of MQL is attached to the time of computer
if u have time local not correct u will have worrong GMT of MQL
That's true, but if your local time not correct, you will have other troubles.
You need to have your local time correctly synchronized anyway.
That's true, but if your local time not correct, you will have other troubles.
You need to have your local time correctly synchronized anyway.
Also.
What is the delay to get the GMT from Internet this way ?
How do you know you will not have a X seconds delay for example, are you checking that in your code ?
try this
yeah its work like a charm
thanks bro and GOD bless u inshallah
but how i can get value GMT directly
like that for exemple
string timeGMT = TimeToString(time_gmt,TIME_DATE|TIME_MINUTES|TIME_SECONDS);
Also.
What is the delay to get the GMT from Internet this way ?
How do you know you will not have a X seconds delay for example, are you checking that in your code ?
im trying to to test it
yeah its work like a charm
thanks bro and GOD bless u inshallah
but how i can get value GMT directly
like that for exemple
string timeGMT = TimeToString(time_gmt,TIME_DATE|TIME_MINUTES|TIME_SECONDS);
Yeah time_gmt has the value if you want to run comparisons and like you typed if you want to display
string timeGMT = TimeToString(time_gmt,TIME_DATE|TIME_MINUTES|TIME_SECONDS);
string timeGMT = TimeToString(time_gmt,TIME_DATE|TIME_MINUTES|TIME_SECONDS);
but i have error when i try to get the value coz i wana use it in the difference between TimeCurrent and GMTtime
string timeGMT = TimeToString(time_gmt,TIME_DATE|TIME_MINUTES|TIME_SECONDS);
no its wrok goood.. im sorry i have did mistake
thanks sir and GOD bless u inshalah