cDateTime: AddHours

AddHours

Adds a specified number of hours to the current date, returning a new cDateTime instance with the calcuated value.



 Public Function AddHours(
	  ByVal Value As Double ) As cDateTime

Parameters

Value
[ByVal] Double. The number of hours to add.

Return Values

cDateTime -  The new cDateTime instance containing the calculated value.

Remarks

See Also

Project VBCorLib Overview Class cDateTime Overview cDateTime Properties cDateTime Methods AddDays AddMilliseconds