Jump to content

How to get phone time.


Cornysz

Recommended Posts

14 minutes ago, Cornysz said:

 

How to get information phone time? like days, month, year.

 

Here is many codes for do it as u want .

It is example for full time and date :

--------------------------------------

Time : %I:%M:%S %p
Today : %A, %d %B %Y

--------------------------------------

And if u want to add this in alert toast print or in anything write like this :

 

gg.alert(os.date('Time : %I:%M:%S %p
\nToday : %A, %d %B %Y'))

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.