
Generate string containing current time rounded to the nearest N minutes (eg, set it for 5-minute intervals and 3:15 to 3:20 PM are displayed as 15:15). Could be used to fire events every N minutes, or whatever.
Inputs
Current time (from Timer control, or VB Now() function, etc)
Returns
String formatted as HH:MM (eg, 13:20)