beat

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

beat([time]) → returns numeric

This function requires Lucee.  Not supported on Adobe ColdFusion, etc.

Argument Reference

time any

The local time to get beat time from

Examples
Sample code invoking the beat function

beat()

beat("14:02")

Expected Result: 626.388

Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.

Fork me on GitHub