Not that I know of. It wouldn't be too hard to build your own (or roll your own if you are a child of the '70s)
Function RoundTime(myTime as Date) as Date
dim intMin as integer
intMin = Minute(myTime)
if intMin <15 then
RoundTime=dateAdd("n",-intMin,mytime)
elseif intMin>=15 or intMin<30 then
RoundTime=dateAdd("n",30-intMin,mytime)
elseif intMin>30 or intMin<=45 then
RoundTime=dateAdd("n",-(intMin-30),mytime)
elseif intMin > 45 then
RoundTime=dateAdd("n",60-intMin,mytime)
end if
end function
That's OTOMH, so it may have errors, but it should get you started. Kathryn
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.