StrongM,
Have noticed than the code you supplied returns the time/date 12 hours in the past. I have added the code
lSecs = lSecs + 43200 just before the dateadd command.
This seems to work but I wanted to get your opinion.
Thanks,
Steve
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.