Get the time of the mobile device

Get the time of the mobile device
0

Good Morning,

Is it possible to get the cell phone time by creating a video game with Java Script and coconuts creator?

If possible you can share an example please

What is the coconuts Creator?

In JavaScript, there is already a date object which uses local time or you may change it to a different timezone.

Good afternoon, thanks for the information, I had not taken into account, I will work it this way.

https://www.cocos.com/en/products#CocosCreator

Hi again,

Welcome to Cocos’ World.
It’s just Cocos, not coconut :joy:.

Learn more about JS’s date object here.

GL, HF!

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.