You are currently viewing the Homey Apps SDK v2 documentation. New apps should use Homey Apps SDK v3 ››

Homey.ManagerClock

const { ManagerClock } = require('homey');

Table of Contents

Since:
  • 1.5.10

Methods

getTimezone() → {String}

Get the current TimeZone

Returns:
Type:
String

Events

.on('timezoneChange')

This event is fired when the system timezone changes

Parameters:
Name Type Description
timezone Object

The new timezone