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.
These users thanked the author Lotek Ixtar for the post:
Shandon Loring
User avatar
Ilan Tochner
Posts: 6518
Joined: Sun Dec 23, 2012 8:44 am
Has thanked: 4972 times
Been thanked: 4469 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.
These users thanked the author Ilan Tochner for the post (total 3):
Lotek IxtarShandon LoringSerene Jewell
User avatar
Shandon Loring
Posts: 1346
Joined: Sat Oct 26, 2013 3:25 am
Has thanked: 972 times
Been thanked: 1586 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.
These users thanked the author Shandon Loring for the post:
Serene Jewell
User avatar
Oren Hurvitz
Posts: 361
Joined: Sun Dec 23, 2012 8:42 am
Has thanked: 19 times
Been thanked: 499 times
Contact:

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

Post by Oren Hurvitz »

We've fixed this bug in today's update.
These users thanked the author Oren Hurvitz for the post (total 3):
Constance PeregrineShandon LoringSerene Jewell
User avatar
Shandon Loring
Posts: 1346
Joined: Sat Oct 26, 2013 3:25 am
Has thanked: 972 times
Been thanked: 1586 times
Contact:

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

Post by Shandon Loring »

Thank You Evil Overlord!
These users thanked the author Shandon Loring for the post (total 2):
Constance PeregrineSerene Jewell
Post Reply