Mega Code Archive
Categories
/
VisualBasic Script
/
Date Functions
W - Displays an integer from 1 (Sunday) to 7 (Monday) containing the day of the week
Sub formatDemo12() Debug.Print Format(#4/1/2006 12:36:54 PM#, "w") End Sub