llGetWallclock returns GMT instead of Pacific Time (SLT)

Creating scripts
Post Reply
Lotek Ixtar
Posts: 13
Joined: Wed Aug 13, 2014 5:26 pm
Has thanked: 3 times
Been thanked: 12 times

llGetWallclock returns GMT instead of Pacific Time (SLT)

Post by Lotek Ixtar »

Hi, not sure if this an opensim bug or the time set different on Kitely's servers; llGetWallclock doesn't return Pacific Time (PST/DST) (also known as SL Time or SLT) but GMT instead. This is contrary to what's explained in the LSL wikis:

http://wiki.secondlife.com/wiki/LlGetWallclock
http://lslwiki.net/lslwiki/wakka.php?wa ... tWallclock

For getting GMT time, llGetGMTclock() is normally used.

I know there could be worked around this by converting the timezone but it would be nice if llGetWallclock would have the behaviour as expected.
User avatar
Ilan Tochner
Posts: 6816
Joined: Sun Dec 23, 2012 8:44 am
Has thanked: 5406 times
Been thanked: 4749 times
Contact:

Re: llGetWallclock returns GMT instead of Pacific Time (SLT)

Post by Ilan Tochner »

Hi Lotek,

Kitely hosts its servers in Amazon's California West datacenter and Amazon sets the clock on all its EC2 instances to GMT.

We'll look into llGetWallclock in our next site update to make sure that it returns the time in the expected timezone.
User avatar
Shandon Loring
Posts: 1384
Joined: Sat Oct 26, 2013 3:25 am
Has thanked: 1038 times
Been thanked: 1631 times
Contact:

Re: llGetWallclock returns GMT instead of Pacific Time (SLT)

Post by Shandon Loring »

i've noticed this for a long time, but i often think in terms of gmt anyway, so no biggie. i'll still not be on time either way! :lol:

but it would be cool to have it updated.

thank you for bringing it up Lotek,
thank you Ilan
THANK YOU OREN!
Last edited by Shandon Loring on Wed Jan 27, 2016 6:25 am, edited 1 time in total.
User avatar
Oren Hurvitz
Posts: 361
Joined: Sun Dec 23, 2012 8:42 am
Has thanked: 19 times
Been thanked: 500 times
Contact:

Re: llGetWallclock returns GMT instead of Pacific Time (SLT)

Post by Oren Hurvitz »

We've fixed this bug in today's update.
User avatar
Shandon Loring
Posts: 1384
Joined: Sat Oct 26, 2013 3:25 am
Has thanked: 1038 times
Been thanked: 1631 times
Contact:

Re: llGetWallclock returns GMT instead of Pacific Time (SLT)

Post by Shandon Loring »

Thank You Evil Overlord!
Post Reply