Timer service. Is server time fixed?

0 votes
Hello world! I need to use TImerService::GetCurrentTime for all players around the globe. If player play in China with player in Africa and they both use this function, whether or not they will get equal server time ( i don't mention network lattency ), and in what time zone it will be, time will be since epoch ( 1970 ) ?

And can i get seconds from string represenration of response time?
asked Aug 12, 2016 in Cocos2D-X by Kirill Kotov (39 points)
edited Aug 12, 2016 by Kirill Kotov

1 Answer

0 votes

Hi Kirill,

GetCurrentTime API of TimerService returns time in UTC time zone. So, it will be same across the globe.

Let me know if you have any other queries.



answered Aug 14, 2016 by rajeev.etc (1,660 points)
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com