Table of contents
TOC
Collapse the table of content
Expand the table of content

Date.Year

Owen Duncan|Last Updated: 10/5/2018
|
1 Contributor

About

Returns the year from a DateTime value.

Date.Year(dateTime as datetime) as nullable number  

Arguments

ArgumentDescription
dateThe Date to retrieve the year for.

Example

Date.Year(DateTime.FromText("2011-02-19")) equals 2011  
© 2018 Microsoft