HourDiff Function

  • Updated

The HourDiff function returns the number of hours between two DateTime values.

Syntax

 

The HourDiff function returns the number of hours between two DateTime values.

 

HourDiff(start, end)

 

 

Arguments:

 

 

 

start

DateTime - The starting DateTime expression.

 

 

end

DateTime - The ending DateTime expression.

Remarks

  • Example: HourDiff("1/28/2005 9:43:51 AM","1/28/2005 3:43:51 PM") returns 6.

Was this article helpful?

0 out of 0 found this helpful

Comments

0 comments

Article is closed for comments.