Hi,
From what I understand, MT4 uses unix timestamps for all date/time related fields.
What I also understand is that unix timestamps are "timezone neutral", meaning regardless of what timezone the computer/server is in, the timestamp should be the same for that instance of time whether you're in US or Sydney.
So why in the world does the timestamp differ for the same "instance of time" between brokers who's servers are set to GMT vs EST or other timezones.
As an example: Oanda MT4's server time is in the EST timezone, while Forex.com's MT4 server time is set as GMT.
If I place and order right now in both platforms and print the timestamp of the order (via an EA), they will be off by 5 hours (diff between EST and GMT). Which would be OK if we were looking at TIME (adjusted for zone, dst etc) but for TIMESTAMP???
What is going on?
From what I understand, MT4 uses unix timestamps for all date/time related fields.
What I also understand is that unix timestamps are "timezone neutral", meaning regardless of what timezone the computer/server is in, the timestamp should be the same for that instance of time whether you're in US or Sydney.
So why in the world does the timestamp differ for the same "instance of time" between brokers who's servers are set to GMT vs EST or other timezones.
As an example: Oanda MT4's server time is in the EST timezone, while Forex.com's MT4 server time is set as GMT.
If I place and order right now in both platforms and print the timestamp of the order (via an EA), they will be off by 5 hours (diff between EST and GMT). Which would be OK if we were looking at TIME (adjusted for zone, dst etc) but for TIMESTAMP???
What is going on?