The code you have shown is merely the code that displays the date in an input box. What does it look like on the screen? The way you expect?
Without further details regarding how that date -- remember that when it submitted it will just be a String value -- is being inserted into the database, I'm not sure anyone is going to be able to help you. [ January 16, 2008: Message edited by: Bear Bibeault ]