Class: Manager

olympe.datetime. Manager

A DateTime manager is responsible for providing data-flows related to dates & time.


new Manager()

Creates an instance of DateTime Manager.

Methods


getHostTimezoneOffset()

Gets the current Timezone offset with UTC.

Returns:

The offset, in minutes, with UTC.

Type
olympe.df.ONumber

getNow( [updateInterval])

Gets a data-flow representing the current date and time. This flow will get updated at a specified interval.

Parameters:
Name Type Argument Default Description
updateInterval number <optional>
1000

Tick between each update.

Returns:

Data flow to current date time.

Type
olympe.df.Proxy.<olympe.df.ODateTime> | olympe.df.ODateTime