|
Subject:
|
Text box values are different
|
|
Posted By:
|
shoakat
|
Post Date:
|
4/27/2005 5:13:40 PM
|
When I enter values say 09/08/2009 and when I hit save, it gets saved on the database as 09/08/2009. But on the client side the value is changed from 09/08/2009 to 9/8/2009. If I enter another value say 11/12/2008. It gets saved in the database same as 11/12/2008 also on the client side there is no change at this time. The value is 11/11/2008. So in short, 09/08/2009 is changed to 9/8/2009.Can any body explain this?
|
|
Reply By:
|
jbenson001
|
Reply Date:
|
4/27/2005 11:17:23 PM
|
If you are using SQL Server, it does not save the leading 0s in a datetime column.
|
|
Reply By:
|
Prashant.k.m
|
Reply Date:
|
4/28/2005 12:29:18 AM
|
I would have gone for some format expressions.
|