Link to home
Start Free TrialLog in
Avatar of Bob Butcher
Bob ButcherFlag for United States of America

asked on

fill first column of flex grid with 15 minute increments - how to loop through

I am going to pass two parameters to my fill loop routine - the first value is 800, which represents 8:00 , and is my starting time, and the second value, which which will represent my ending time, is going to be 1700, in military time.

I need to start with the first parameter and, adding 15 minute increments and go until I reach the ending parameter.

So my column in flex grid will look like this:

08:00
08:15
08:30
08:45
09:00

and so on to the ending parameter - which is 17:00.

Could someone put together a snippet of code on an easy way to do this - to fill each column, incrementing by 15 minutes from the start parameter to the end parameter.

Thanks in advance.


ASKER CERTIFIED SOLUTION
Avatar of FER_G
FER_G
Flag of Argentina image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Bob Butcher

ASKER

thank you - exactly what i was looking for.
you're welcome, i'm glad to help you!

Regards.
FerG
Saludos
--
Ing. Fernando D. Giletta
MP: 4035 CIEC
San Fco. Cba. Arg.