Monday, 15 September 2014

c# - Convert date string into date time -



c# - Convert date string into date time -

how convert string in format (examples shown below) datetime object. have tried several things in effort convert however, have not been able work.

examples of strings in format:

24 jul 2014 01 may 1988

from first google's "c# datetime parse" result:

string mystring = "24 jul 2014"; datetime mydatetime = datetime.parse(mystring); console.writeline(mydatetime); //24/07/2014 00:00:00

c#

No comments:

Post a Comment