AddHours
Returns a CorDateTime this is the specified number of hours from the original Time.
Public Function AddHours(
ByRef Time As Variant,
ByVal Hours As Long ) As CorDateTime
Parameters
- Time
-
[ByRef]
Variant.
The time to add the specified number of hours to.
- Hours
-
[ByVal]
Long.
The number of hours to be added to Time. This can be negative.
Return Values
CorDateTime - Returns a with the specified number of hours added.
See Also
Project CorLib Overview
Class Calendar Overview