Reference · Tools · tools.rs
set_utc_offset Function
The device's offset from UTC in seconds, so {date} is the local day. The apps call it at launch and when the time zone changes.
func setUtcOffset(seconds: Int32)public static void SetUtcOffset(int seconds)pub fn set_utc_offset(seconds: i32)Parameters
| Name | Type | Swift / C# |
|---|---|---|
seconds | i32 | seconds |
Returns
Nothing.
Errors
Does not throw.
Signatures are generated from the engine’s code. Swift is checked against the generated bindings; C# follows the bindings generator’s naming rules.