AddHours

Top  Previous  Next

Function

Parameters

Return value

AddHours

DateTime date,

double value

DateTime

 

Adds the specified number of hours ("value") to the "date" date and returns a new date.

 

Example:

 

AddHours(#7/29/2009 1:30#, 1) = #7/29/2009 2:30#