I need a function that will allow me to add seconds to a stored time.
I need to create a loop that will add 4 seconds to each record in the file.
Something like:
- Code: Select all Expand view
cTime := "12:10:58"
GO TOP
DO WHILE ! EOF()
MyDbf->TimeField := cTime
cTime = cTime + 4seconds //This is where I need help
SKIP
ENDDO
I need to make sure that it will adjust the minutes or hours as they pass over 60 seconds (or 60 minutes etc...)
Any Ideas?
Thanks
Jeff