As foada says, it is not entirely clear what you want. If all you need is the hour part of the time, then his example is probably the simplest way of getting it. If, on the other hand, you want to convert a whole date value to the nearest hour, something like this might be appropriate (based on the fact that a date is actually held as a floating point number, the decimal portion of which represents how many 1/24 of a day have passed):
[tt]
Private Function NearestHour(tTime As Date) As Date
NearestHour = Fix(tTime) + (((tTime - Fix(tTime)) * 24) Mod 24) / 24
End Function
[/tt]