Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Participant
1839 Points
532 Posts
Apr 10, 2012 05:05 AM|LINK
hi try this
IFormatProvider fp=new CultureInfo("es-PA"); string mydate = "01/31/2012"; DateTime dt= DateTime.Parse(mydate,fp);
hope this will help
shivalthakur
Participant
1839 Points
532 Posts
Re: Date time format
Apr 10, 2012 05:05 AM|LINK
hi try this
IFormatProvider fp=new CultureInfo("es-PA"); string mydate = "01/31/2012"; DateTime dt= DateTime.Parse(mydate,fp);hope this will help
Response.Write("Success");
Best Of Luck
Shival Thakur