A
Alan Gilmour
Hi All,
Does anyone know how to parse a custom datetime string.
i.e. say I had a date time string in this format
string thedate = "Tue, 5 AUG 2003 13:29:00"
string theformat = "ddd, d mmm yyyy hh:mm:ss"
Could I then call DateTime.Parse(thedate,theformat), for example.
I had a look at the overloaded constructors on MSDN but never really found
anything helpful.
Thanks
Alan
Does anyone know how to parse a custom datetime string.
i.e. say I had a date time string in this format
string thedate = "Tue, 5 AUG 2003 13:29:00"
string theformat = "ddd, d mmm yyyy hh:mm:ss"
Could I then call DateTime.Parse(thedate,theformat), for example.
I had a look at the overloaded constructors on MSDN but never really found
anything helpful.
Thanks
Alan