Article ID: 110667
Article Last Modified on 2/24/2005
dd - Displays the day as a number with a leading zero (01-31).
ddd - Displays the day as an abbreviation (Sun-Sat).
dddd - Displays the day as a full name (Sunday-Saturday).
w - Displays the day of the week as a number (1 for Sunday through 7 for
Saturday.)
ww - Displays the week of the year as a number (1-53).
m - Displays the month as a number without a leading zero (1-12). If m
immediately follows h or hh, the minute rather than the month is
displayed.
mm - Displays the month as a number with a leading zero (01-12). If m
immediately follows h or hh, the minute rather than the month is
displayed.
mmm - Displays the month as an abbreviation (Jan-Dec).
mmmm - Displays the month as a full month name (January-December).
q - Displays the quarter of the year as a number (1-4).
Sub Form_Load ()
form1.Show
Print Format("01/01/94", "ww dddd")
Print Format("01/05/94", "ww dddd")
End Sub
Keywords: kbprb KB110667