Get the time of the mobile device

Get the time of the mobile device

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.

Hi again,

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

Learn more about JS’s date object here.


1 Like

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