Hi Everybody,
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:
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
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:
cTime := "12:10:58"
GO TOP
DO WHILE ! EOF()
MyDbf->TimeField := cTime
cTime = cTime + 4seconds //This is where I need help
SKIP
ENDDOI 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
Thanks,
Jeff Barnes
(FWH 16.11, xHarbour 1.2.3, Bcc730)
Jeff Barnes
(FWH 16.11, xHarbour 1.2.3, Bcc730)