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

CodeFunctionName What is this?

Public

Not Tested

Original Work

Access is limited.

Login here using your Linkedin account. to see or download code.

No registration, not another password to remember, login using your Linkedin account and have access to all public codes in Mydev.net

Linkedin Login

RoundType, InputHourMinute

Views 3,194

Downloads 1,134

CodeID
DB ID