How can I code the asp page so that if a user types in the date February 14, 2003 - that it automatically changes the format to 14-Feb-2003?
Function Dateclean( datedata)<BR> Dateclean = Day(datedata) & "-" & Month(datedata, true) & "-" & Year(datdata)<BR><BR>End Function
ok - Thanks! If this date is in a text box, what would be the best way to call the function?
Ahh in that case just give them Dropdown boxes....<BR><BR>For i = 1 to 31<BR><BR> 'option statement...<BR><BR>next<BR><BR>For x = 1 to 12<BR><BR> option and -- Monthname( & x & , true)<BR>next<BR>