This webpage is using javascript to update time. Its better if you use some other simple standard service.
However if you still want to use this page look care fully time in there in webpage.
Hello,
I would like to add the option for getting the GMT-Time via WebRequest. On my VPS the MT4-inbuilt GMT-option does not work correctly.
What is the problem with TimeGMT() ?
This webpage is using javascript to update time. Its better if you use some other simple standard service.
However if you still want to use this page look care fully time in there in webpage.
What is the problem with TimeGMT() ?
Why would you want to change the VPS clock ?
TimeGMT() is supposed to return the GMT time, whatever the VPS windows clock.
What is the problem with TimeGMT() ?
Why would you want to change the VPS clock ?
TimeGMT() is supposed to return the GMT time, whatever the VPS windows clock.
I know what you mean. And I really don't understand it as well. I made a picture from my local PC and VPS at same time with the same EA
Have a look
GMT was 17:55 when I made the picture
Yes. And when I try to change it, after 1 hour the clock is set back to another time. And I cannot stop the syncronisation.
The customer support won't help me.
So I thought to get the GMT from the internet. .... That's why I wanted to implement the code above. But I would need some more hints to implement it correctly.
Yes. And when I try to change it, after 1 hour the clock is set back to another time. And I cannot stop the syncronisation.
The customer support won't help me.
So I thought to get the GMT from the internet. .... That's why I wanted to implement the code above. But I would need some more hints to implement it correctly.
For example.
https://stackoverflow.com/questions/50885249/how-to-get-gmt-by-using-google-time-zone-api
There are others API available.
- 2018.06.16
- Paramjeet Singh
- stackoverflow.com
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hello,
I would like to add the option for getting the GMT-Time via WebRequest. On my VPS the MT4-inbuilt GMT-option does not work correctly.
I have some code, but would ask for some help. The code give me a result with no information about the GMT.
What should I change? I cannot get my head around it.
Thanks for some advices in advance.
Result:
<!DOCTYPE html>
<html lang="en">
<head><meta charset="utf-8" /><title>
Current local time in (UTC/GMT)
</title>
<style type="text/css">
.ico {
display: inline-block;
background-repeat: no-repeat;
background-image: url('/img/sprite-s33c612617c.3.png');
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
.ico {
background-image: url('/img/sprite-retina-s509d95ead6.png');
}
}
.ico.ico-fa {
background: n