Search Tools Links Login

RoundedTime


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.

Original Author: Brian Battles WS1O

Inputs

Current time (from Timer control, or VB Now() function, etc)

Returns

String formatted as HH:MM (eg, 13:20)

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 83 times

Categories

Visual Basic 6

Attachments

RoundedTim200315242001.zip
Posted: 9/3/2020 3:45:00 PM
Size: 6,317 bytes


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.