I am having difficulty in converting string to datetime

  • Thread starter Thread starter Ambrose
  • Start date Start date
A

Ambrose

"31-03-2007 10:00:00 AM" to Datetime .Regional Local settings is dutch
(NL).Please help me .
 
April does not have 31 days.
=====================
Clay Burch
Syncfusion, Inc.
 
April has only 30 days. Try

string datestring = "2007-04-30 06:00:00 AM";

==================
Clay Burch
Syncfusion, Inc.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top