Date Date.from_swatch_internet_time (String beat) vs. 1.1.0 Full+Lite

Returns a JavaScript Date object (approximate time) from the given beat. This function assume the browser handles the time zone and day time saving. For more details about the Swatch Internet Time, please visit http://www.swatch.com/internettime/

Parameters

String beat Required vs. 1.1.0 Full+Lite
The swatch time beat (including the @ sign or not). This could be an integer as well.

Return

Date Required vs. 1.1.0 Full+Lite
A JavaScript date from the given beat.

Examples

Using Date.from_swatch_internet_time(beat)
Demo: