.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
Steve Jackman
Imran Ghani
Santhakumar Munuswamy

Home >> Forum >> ASP.Net >> Post New QuestionBookmark and Share Subscribe to Forum

date error : Incorrect date value

Posted By: archana     Posted Date: February 25, 2010    Points:2   Category :ASP.Net
hi all,

i have a problem with date

after register i need to update

im not edit the date value still

i found an error

Incorrect date value: '2010-02-09 12:00:00 AM'


im using data type---->date

Responses
Author: Lalij Mer             
Posted Date: February 25, 2010     Points: 5   

Try to set date format witch you want to require.
follow this Steps:
Go->setting->Control Panel->Regional Languages Options->Customize and change date formate.


more information show here
http://www.eggheadcafe.com/community/aspnet/2/10049509/date-format.aspx

Please Check my answer if you help....
Thank You...

Lalit.
Author: Ajesh Rawat             
Posted Date: February 25, 2010     Points: 5   

HI...
Archana.
While Retrieving data change the format datecolmvalue.toshortstring()
or format (col,"dd/mm/yyyy")

Ajesh Singh Rawat
Consultant Programmer


Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend