setTimezone
Sets the timezone of the world.
Syntax
engine.world.setTimezone(timezone);
Parameters
Name | Type | Description |
---|---|---|
timezone | TimeMode | The timezone to set. |
Example
// Set the world to use the timezone of New York
engine.world.setTimeMode('timezone');
engine.world.setTimezone('America/New_York');
Available on: Client