How to get server time
Created at 20 Jul 2021, 09:19
BU
How to get server time
20 Jul 2021, 09:19
Hi,
How can I get the server time from cTrader server?
I receive the historical trendbars and other information with timestamp in relation to the server time.
I need to know what time is now in server.
Kind regards
Replies
budda_dan2020
30 Jul 2021, 10:25
RE: Server time
amusleh said:
Hi,
The trenbars has a utcTimestampInMinutes, its not in server time, the field name is very clear, its UTC time stamp.
Hi Amusleh,
thanks for the reply.
But at the time I get the trendbar, my computer time has no longer same time as trendbar. So I don't know the current server time.
@budda_dan2020
amusleh
20 Jul 2021, 09:30
Hi,
The trenbars has a utcTimestampInMinutes, its not in server time, the field name is very clear, its UTC time stamp.
@amusleh