DAGDA SEARCH | Back to results | Support

daysTo

Source: https://codeql.github.com/codeql-standard-libraries/javascript/predicate.date$daysTo.1.html

CodeQL library for JavaScript/TypeScriptcodeql/javascript-all 3.0.2 (changelog, source)IndexSearch

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)