Returns the day of the year in the specified DateTime object.
time The DateTime to read.
An integer from 1 through 366 that represents the day of the year in the specified DateTime object.