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=any );
Returns: Number
| Argument | Description |
|---|---|
|
time
any,
optional
|
edit
The local time to get beat time from |
Examples
editcurrent_time = now();
dump(Beat(current_time));
See also
- Date and time
- Search Issue Tracker open_in_new
- Search Lucee Test Cases open_in_new (good for further, detailed examples)