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.

beat Argument Reference

time any

The local time to get beat time from

Examples sample code invoking the beat function


Now in swatch internet time

beat()

14:02 in swatch internet time

beat("14:02")

Expected Result: 626.388


Fork me on GitHub