Hi all,
I'm messing this up somehow and can't get this right. I'm using Access 2010 and have a button on a form to add the current datetime and add 2 additional hours, which works fine.
Me.DueTime = Now() + 2 / 24
What I'm trying to add to this is to make it round to the near half hour.
This is what I have tried, but getting a VBA error.
RoundTime(Me.DueTime = Now() + 2 / 24, 1800)
Any help would be great.
Thanks,