1.png
Timezone is set to UTC+1. (VPS)
Can I assume you posted right after taking the screenshot? Like, very few minutes later?
Also, are you absolutely sure it's not on UTC+2? Or on a timezone with Daylight Saving Time? Because the data shows the local time (os.date('*t')) as 2h later than UTC time (os.date('!*t')).
Last edited by Raphael; 04-20-2016 at 07:47 PM.
Yes, I posted it just after taking the SS.
It is on Daylight Saving Time.
1.png
11:33:37 os.date('*t')
11:33:37 {sec = 37, min = 33, day = 7, isdst = true, wday = 7, yday = 128, year = 2016, month = 5, hour = 11}
11:33:37 os.date('!*t')
11:33:37 {sec = 37, min = 33, day = 7, isdst = false, wday = 7, yday = 128, year = 2016, month = 5, hour = 9}
11:33:37 os.date('!%X')
11:33:37 09:33:37
11:33:37 os.date('%X')
11:33:37 11:33:37
11:33:37 utcoffset()
11:33:37 -3600
11:33:37 cetoffset()
11:33:37 3600
11:33:37 utctime()
11:33:37 34417
11:33:37 cettime()
11:33:37 34417
11:33:37 sstime()
11:33:37 1583
12:00:22 os.date('*t')
12:00:22 {sec = 22, min = 0, day = 7, isdst = true, wday = 7, yday = 128, year = 2016, month = 5, hour = 12}
12:00:22 os.date('!*t')
12:00:22 {sec = 22, min = 0, day = 7, isdst = false, wday = 7, yday = 128, year = 2016, month = 5, hour = 10}
12:00:22 os.date('!%X')
12:00:22 10:00:22
12:00:22 os.date('%X')
12:00:22 12:00:22
12:00:22 utcoffset()
12:00:22 -3600
12:00:22 cetoffset()
12:00:22 3600
12:00:22 utctime()
12:00:22 36022
12:00:22 cettime()
12:00:22 36022
12:00:22 sstime()
12:00:22 86378
UTC +1
Last edited by Imba; 05-07-2016 at 10:02 AM.
I had to change my sstime function to make it work:
function sstime()
return (36000 - cettime() - 7200) % 86400
end
I'm sorry guys, I haven't had the time to check this out. I'll try and get this done tomorrow or the day after that.