Populating a combobox with times at half hour intervals.

NJDubois

Well-known member
Joined
May 15, 2008
Messages
84
Programming Experience
Beginner
I need to fill a combobox with times at half an hour intervals:
12:00 am
12:30 am
1:00 am
1:30 am

all the way to 11:30 pm.

I could do it all manually, for next loop, cur hour, cur min, add 30 min, when over 60 add hour and so on....

but there has to be an easy way to do this?

Thanks for the help.

Nick
 
Back
Top