TCC > Variables & Functions > Variables:
Comments (...)
_DOY returns the current day of the year (1 to 366).
Help URL: http://jpsoft.com/help/index.htm?_doy.htm