Method Ast_DateDiff(object?, object?, object?)
Difference between two dates, first minus second, in the requested unit.
Dates coerce exactly as does (DateTime, DateTimeOffset, or an
invariantly parsed string); the unit vocabulary is 's plus
milliseconds (ms); an unknown unit yields null, matching .
A whole result collapses to int, matching division.
public static object? Ast_DateDiff(object? left, object? right, object? unit)