AddHours
Adds a number of hours to the date provided.
Public Function AddHours(
ByRef Time As Variant,
ByVal Hours As Long ) As CorDateTime
Parameters
- Time
-
[ByRef]
Variant.
A Date or CorDateTime to add a number of hours to.
- Hours
-
[ByVal]
Long.
The number of hours to be added to the time portion of a date.
Return Values
CorDateTime - Returns a CorDateTime with the specified number of hours added.
See Also
Project CorLib Overview
Class GregorianCalendar Overview