PluginClock
Provides the current time. The clock belongs to the app and not to the platform, so that a test can set the time and obtain the same result each time it runs. No permission is needed.
Methods
Section titled “Methods”now(): number;Returns the current time, in milliseconds. A plugin uses this method instead of Date.now().
Returns
Section titled “Returns”number
