Fix malformed datediff function signature