how to convert this kind of date?

  • Thread starter Thread starter Guoqi Zheng
  • Start date Start date
G

Guoqi Zheng

As we know Internet message always come with a date format such as:
Wed, 26 Jan 2005 20:57:03 -0800

That is standard according to RFC, but how can I convert it into real
datetime datatype?

Cdate() will arise an error that it is not a valid date.
 
System.DateTime.Parse
or

System.DateTime.ParseExact


HTH

Ollie Riches
 

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