This code will display the day of the year as a number (1-366).

Code:
MsgBox Format(Date, "y")