RoundMinutes

Rounds time into nearest quarter up or down, half up or down based on argument passed.
Accepts and returns time as string in format of HH:MM
RoundType can be one of below
1 : shift the minutes up to quarters
2 : shift the minutes down to quarters
3 : shift the minutes to quarters up or down depend upon the minutes no
4 : shift the minutes up to halves
5 : shift the minutes down to halves
6 : shift the minutes to halves up or down depend upon the minutes no

Might need some testing


Public

Not Tested

My Own Work

RoundType, InputHourMinute

Views 3052 Downloads 1059

Classic ASP Date+Time
ANmarAmdeen
856
Attachments
Revisions

v2.0