TimeDayofYear

 

Using the WIL language it is possible to grab the day of the year. The following example from TimeJulianDay grabs the current time and day of the year.

Example:
;TimeDayOfYear
now=TimeYmdHms()
year=ItemExtract(1,now,":")
Jan01=StrCat(year,":01:01:00:00:00")
dayofyear=TimeDiffDays(now,Jan01)+1
Message("Day of Year",dayofyear)
See Also:

TimeDayofWeek, TimeJulianDay