Sets a custom time offset in seconds for BIOS_CLOCK_DATETIME.
If this offset is set, the BIOS clock will add (or subtract) the number of seconds specified to the current time reported by the Second Life server, as adjusted for the time zone set with BIOS_CLOCK_SET_TZ. Like the time zone adjustment, if the offset causes the time to jump to a different date, the reported date will also be affected.
This can be used to arbitrarily modify the time reported by the BIOS clock.
By default, the offset is 0.
This system call should not be used to change the time zone unless the desired time zone is non-hourly, such as India (UTC+5:30).
llMessageLinked(LINK_ROOT, [offset]
, "BIOS_CLOCK_SET_OFFSET", "");
• target | LINK_ROOT |
• integer | [offset] |
• key | n/a |
Parameter | Description |
---|---|
[offset] |
Integer. Any integer. Will set the custom time offset in seconds. While the BIOS will accept any integer, the resulting datetime must remain within the range for 32-bit Unix timestamps (i.e., between 1970 and 2038). Therefore, extremely large offsets may result in time overflows. |