Sub Example()
'Define 1 variable as a double (with decimals), 1 as integer only
Dim timeDuration As Double, y As Long
Dim dTime As Date
timeDuration = Range("TimeInterval").Value
'This is same as =TRUNC(A2)
'The Mod method in VB automatically rounds, otherwise we would use that
y = timeDuration
'Subtract integer portion off, to get only time
timeDuration = timeDuration - y
dTime = Now + timeDuration
End Sub