Show/Hide Toolbars

TMS Aurelius Documentation

Retrieves the year of a specified date/time value.

 

Example:

 

  .Where(Linq['IssueDate'].Year = 2013)

 

Year method creates a projection that extracts the year of a date value. Equivalent code:

 

  .Where(Linq.Eq(TProjections.Year('IssueDate'), 2013))