[RESOLVED] add 24 hours to a time
this works for adding a week to a date
Dim newdate 'add a wreek
Dim mydate
mydate = gridMaster.textmatrix(mintgridMasterCurRow, 3)
newdate = DateAdd("ww", 1, mydate) add a week
gridMaster.textmatrix(mintgridMasterCurRow, 3) = newdate
i need to add 24 hours to a time, how ?
the time is in this format 9:00 AM
Re: add 24 hours to a time
same way, using addDate ... with a time part of "h" (for hour) and a value of 24.... or "d" for day and a value of 1.
-tg
Re: add 24 hours to a time