how to change timezones?

Created at 15 Jul 2016, 12:44
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
NI

NicosT

Joined 13.06.2016

how to change timezones?
15 Jul 2016, 12:44


    Due to servers always lagging at 00.00 hours how do i change from UTC + 0 to UTC +1 or + 2?. 

 

changing the bottom here TimeZones.UTC+2 doesnt seem to work.

 

 

 [Robot(TimeZone = TimeZones.UTC, AccessRights = AccessRights.None)]
    public class NCStrategyA : Robot
    {

 

 


@NicosT
Replies

goldspanner
15 Jul 2016, 23:04

RE:

coolnck2003 said:

    Due to servers always lagging at 00.00 hours how do i change from UTC + 0 to UTC +1 or + 2?. 

 

changing the bottom here TimeZones.UTC+2 doesnt seem to work.

 

 

 [Robot(TimeZone = TimeZones.UTC, AccessRights = AccessRights.None)]
    public class NCStrategyA : Robot
    {

 

 

You can use TimeZones.CentralEuropeStandardTime which is equivalent to UTC+2.

If you just type in 'TimeZones.' it should come up with a list of all the possible timezones - there's a short description for each which gives you the equivalent in GMT. From that you should be able to work out which one(s) you need. GMT at the moment is UTC+1.


@goldspanner