T
tom c
I want to put the date in Year, Month, Day format so todays date,
7/8/2006, will give me 20060708.
The following code code leaves out the zeros for day and month and
gives me 200678
Dim RptDate As String
Dim wkDate As Date
wkDate = Today
RptDate = wkDate.Year & wkDate.Month & wkDate.Day
What is the easiest way to get the format I want?
7/8/2006, will give me 20060708.
The following code code leaves out the zeros for day and month and
gives me 200678
Dim RptDate As String
Dim wkDate As Date
wkDate = Today
RptDate = wkDate.Year & wkDate.Month & wkDate.Day
What is the easiest way to get the format I want?