I have a date fld that I need help in converting into a string using leading zeroes for month and day as needed.
depdte(date/time) has date value of 9/1/2004
tried this but didnt work
wsdte = Format(DatePart("m", Irs.Fields("depdte"), "00"))
This returns: 9
I need it to return: 09
Thanks for any help on this ...
Tom Moran
Lansing, Michigan
depdte(date/time) has date value of 9/1/2004
tried this but didnt work
wsdte = Format(DatePart("m", Irs.Fields("depdte"), "00"))
This returns: 9
I need it to return: 09
Thanks for any help on this ...
Tom Moran
Lansing, Michigan