Time-Based Rounding

Nearest 'x' minutes

This method will perform rounding to nearest or closest multiple of 'x' minutes.

For example, consider x is set to 10 minutes :

  • If the start/end time is 08:54 then it will be rounded as 08:50

  • If the start/end time is 08:57 then it will be rounded as 09:00

Earlier 'x' minutes

This method will perform rounding backwards to earlier 'x' minutes.

For example, consider x is set to 10 minutes :

  • If the start/end time is 08:54 then it will be rounded as 08:50

  • If the start/end time is 08:57 then it will be rounded as 08:50

Later 'x' minutes

This method will perform rounding forwards to later 'x' minutes.

For example, consider x is set to 10 minutes :

  • If the start/end time is 08:54 then it will be rounded as 09:00

  • If the start/end time is 08:57 then it will be rounded as 09:00

Last updated