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

Date.DayOfYear

Owen Duncan|Last Updated: 4/19/2018

About

Returns a number that represents the day of the year from a DateTime value.

Date.DayOfYear(dateTime as datetime) as nullable number  

Arguments

ArgumentDescription
dateTimeThe DateTime to check against.

Examples

Date.DayOfYear(DateTime.FromText("2011-03-01")) equals 60  
Date.DayOfYear(DateTime.FromText("2012-03-01")) equals 61  
© 2018 Microsoft