About EasyMorph Tutorials & Examples Web-help

Rounding time to the nearest minute

Hi,

Is there a way to round a timestamp to the nearest minute in Easymorph?

image

You can do this by getting the total number of minutes, rounding it, and then going back to days.

round([Timestamp] * 60 * 24, 0) / 60 / 24

timestamp-minute-rounding.morph (2.0 KB)

1 Like

Perfect, cheers!

To learn more about EasyMorph visit easymorph.com.