Beat

Outputs the swatch internet time (or "beat time") of the passed local time.

It is a new system of time developed by Swatch, the Swiss watch maker. It involves setting the current day into 1000 "beats" instead of 24 hours. Internet Time eliminates the need for geographical time zones, perfect for the internet.

Beat( [ time ] )

Returns: Number

Argument Description
time
any, optional

The local time to get beat time from

Examples

current_time = now();
dump(Beat(current_time));

See also