dtround(dtVal,increment)

Returns the input date/time value rounded to the nearest multiple of increment. The increment must be less than one day, and should be an even divisor of a whole day. For example:
!dtVar! = $dtround(!dtVar!,\1 sec\)
rounds the variable dtVal to the nearest 1 second.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.