Home      Ask a Question      My Stuff      Help   
  
Scripting - Rounding Either Just the First In Punch or Just the Last Out Punch
Please see article Scripting - Rounding Rules for more information on rounding in general. This article gives specific examples of using the ROUNDENDS command in addition to a "I" or "O" flag in the rule:

Round first in punch to the nearest 15 minutes.

roundends ("IN15");

Round last out punch 'UP' to the nearest 15 minutes.

roundends ("OU15");

You can also use both scripts at the same time to apply different rules to the first IN and last OUT punch time, like:

roundends ("IN10");
roundends ("OU15");
ID
354
Category
Training
  FAQ's
Date Created
1/30/2009 7:06:14 AM
Date Updated
10/20/2011 1:25:11 PM
Back to Search Results