CodeQL library for C#
codeql/csharp-all 3.1.1-dev (changelog, source)
Search

Primitive predicate date::daysTo

Returns the number of days between the receiver and the argument - the result is positive when the argument is chronologically ahead of the receiver, and negative when the argument is chronologically behind the receiver

int daysTo(date other)