Hi Team,
I have a requirement where the default date and time field should display the nearest rounded time. For example:
Is there any simple way to acheive this
Discussion posts and replies are publicly visible
Hi divyam892747 ,
you could try something like this
a!localVariables( local!min: minute(now()), a!addDateTime( startDateTime: now(), years: 0, months: 0, days: 0, hours: 0, minutes: if( and(local!min => 30, local!min < 60), 60 - local!min, 30 - local!min ) ) )