|
Post by joseltr on Aug 28, 2018 19:07:16 GMT
anyone please help me in 2 questions
1. when use getNetworkTime() function, it returns the long int value, so what does its mean? for exp. 1535482878083 (??) 2. i want to create licensing lifespan for my script, how could i do it?
p/s: if anyone explain for me what is long int of getNetworkTime()'s meaning, can i parse it into day/month/year? - then i can use method to make my licensing lifespan (thank you)
plus: dont lead me to use os.date() cause the user can change date in emulator/phone's setting. So licensing would be useless!
|
|
|
Post by AnkuLua on Aug 29, 2018 8:00:18 GMT
Refer to following www.lua.org/pil/22.1.htmlYou can use following script to transfer the network time to local time local temp = os.date("*t", getNetworkTime() / 1000) print (temp.year) print (temp.month) print (temp.day) print (temp.hour) For how to check the expire time, we PM you the way.
|
|
|
Post by joseltr on Sept 3, 2018 8:54:09 GMT
Refer to following www.lua.org/pil/22.1.htmlYou can use following script to transfer the network time to local time local temp = os.date("*t", getNetworkTime() / 1000) print (temp.year) print (temp.month) print (temp.day) print (temp.hour) For how to check the expire time, we PM you the way. yes, thanks sir, thanks for fast supporting
|
|
|
Post by andreos on Oct 25, 2019 20:10:52 GMT
Refer to following www.lua.org/pil/22.1.htmlYou can use following script to transfer the network time to local time local temp = os.date("*t", getNetworkTime() / 1000) print (temp.year) print (temp.month) print (temp.day) print (temp.hour) For how to check the expire time, we PM you the way. Could you PM me that too, please?
|
|
|
Post by AnkuLua on Oct 25, 2019 23:57:22 GMT
Refer to following www.lua.org/pil/22.1.htmlYou can use following script to transfer the network time to local time local temp = os.date("*t", getNetworkTime() / 1000) print (temp.year) print (temp.month) print (temp.day) print (temp.hour) For how to check the expire time, we PM you the way. Could you PM me that too, please? PM sent.
|
|
|
Post by oomkoos on Dec 13, 2019 5:11:58 GMT
Refer to following www.lua.org/pil/22.1.htmlYou can use following script to transfer the network time to local time local temp = os.date("*t", getNetworkTime() / 1000) print (temp.year) print (temp.month) print (temp.day) print (temp.hour) For how to check the expire time, we PM you the way. Ankulua , could you please send it to me as well ?
|
|
|
Post by AnkuLua on Dec 13, 2019 12:29:35 GMT
|
|
|
Post by oomkoos on Dec 13, 2019 13:18:32 GMT
Thank you, will have a look
|
|