Function reference
Obtains the number of hours one datetime occurs after another.

HoursAfter ( ‘datetime1 ‘, ‘datetime2’ )

Argument Description
datetime1 A datetime value represented as string that is the start of the interval being measured
datetime2 A datetime value represented as string that is the end of the interval

Data type: Long
Returns a long containing the number of hours

Example
This expression returns 110
Round(HoursAfter( ’2013-04-21 12:23:01’ , ’2013-04-26 02:42:54’ ),0)

Last modified: 23 May 2021

Feedback

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Post Comment