DATEDIFF
Syntax
<datediff-expression> := 'DATEDIFF(' <Date> ',' <Date> ')'
Since
2.5
Return-type
Integer
Description
The DATEDIFF function returns the difference between both arguments in milliseconds. If any of the argument is NULL, the function returns also NULL.
Examples
DATEDIFF( Project.End, Project.Start ) / ( 24 * 60 * 60 * 1000 )
Calculates the duration of a projects and converts it to days (from milliseconds).
