K
Kerri
Hi,
I have an ASPX page with a textbox where the user enters a
date.
I have a variable of tyope date that I populate from teh
form
d
dtMyDate = Request.Form("txMyDate")
I then call a function that formats my date.
Public Function FormatDate(ByVal dtMyDate as date) as Date
FormatDate = Format(dtMyDate, "mm/dd/yyyy")
End Function
If I pass in the date 01/01/2003, it formats it as
00/01/2003.
Any ideas why this is.
Thanks,
Kerri.
I have an ASPX page with a textbox where the user enters a
date.
I have a variable of tyope date that I populate from teh
form
d
dtMyDate = Request.Form("txMyDate")
I then call a function that formats my date.
Public Function FormatDate(ByVal dtMyDate as date) as Date
FormatDate = Format(dtMyDate, "mm/dd/yyyy")
End Function
If I pass in the date 01/01/2003, it formats it as
00/01/2003.
Any ideas why this is.
Thanks,
Kerri.