DAGDA SEARCH | Back to results | Support

getYear

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

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

Primitive predicate date::getYear

Returns the year component of the receiver (for example 2017)

int getYear()