Skip to content
Contact us

HoursAfter()

HoursAfter ( ‘datetime1 ‘, ‘datetime2’ )

ArgumentDescription
datetime1A datetime value represented as string that is the start of the interval being measured
datetime2A datetime value represented as string that is the end of the interval

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

Round(HoursAfter( '2013-04-21 12:23:01' , '2013-04-26 02:42:54' ),0)

This expression returns 110