Mega Code Archive
Categories
/
VisualBasic Script
/
Date Functions
Y - Displays an integer from 1 to 366 giving the day of the year
Sub formatDemo20() Debug.Print Format(#4/1/2006 12:36:54 PM#, "y") End Sub