MANDO01 Posted July 14, 2022 Posted July 14, 2022 Is there a way to make os.date getting the date online not from the phone ? os.date('TODAY : [%F / %r]')Â
HEROGAMEOfficial Posted July 16, 2022 Posted July 16, 2022 local a = gg.makeRequest('https://www.whatismyip.org') a = a and a.date and ('' .. a.date):gsub('000.0', '') + 0 a = a and os.date(nil, a) print(a) Â
MAARS Posted July 16, 2022 Posted July 16, 2022 3 minutes ago, HEROGAMEOfficial said: local a = gg.makeRequest('https://www.whatismyip.org') a = a and a.date and ('' .. a.date):gsub('000.0', '') + 0 a = a and os.date(nil, a) print(a) Â good, i remember i have built my own api to serve timestamp xD, but you can just get it from the http header xD
MANDO01 Posted July 16, 2022 Author Posted July 16, 2022 8 hours ago, HEROGAMEOfficial said: local a = gg.makeRequest('https://www.whatismyip.org') a = a and a.date and ('' .. a.date):gsub('000.0', '') + 0 a = a and os.date(nil, a) print(a) Â Thanks bro
Question
MANDO01
Is there a way to make os.date getting the date online not from the phone ?
os.date('TODAY : [%F / %r]')Â
3 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.