login about faq

We use the complete Chilkat Bundle on regular basis and are now using it for emails, using the CkEmail object. To get the date of the email there is the emailDateStr() function available, but, it does not really return the date as a workable datatype, i.e. is there a way to convert this RFC822 formatted string (which is the Date header’s content) to a SYSTEMTIME or other time format that can be used to “calculate”?

As you can see I work in native C++ with the windows 32 API. I could not find an example online, so I was wondering whether you have something available ?

asked Nov 04 '13 at 09:50

chilkat's gravatar image

chilkat ♦♦

See the CkDateTime class in the online reference documentation. This is the "Swiss Army Knife" for date/time formats -- the conversion is accomplished by setting the CkDateTime object by providing one format, and then getting the date/time in another format.



answered Nov 04 '13 at 09:51

chilkat's gravatar image

chilkat ♦♦

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Nov 04 '13 at 09:50

Seen: 2,503 times

Last updated: Nov 04 '13 at 09:51

powered by OSQA