Author |
|
marco francisco Guest Group
Joined: 10 November 2003
Online Status: Online Posts: 262
|
Posted: 27 September 2005 at 4:34am | IP Logged
|
|
|
As I can get de date of mail with de format dd-mm-yyyy mm:hh:ss ??
I can get the date of mail with this format
Mon, 26 Sep 2005 18:41:58 +0100
thanks
|
Back to Top |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 27 September 2005 at 11:04am | IP Logged
|
|
|
You can use Message.GetDateFromString method to convert mail date from string to DateTime value as is shown in the following example:
Code:
Dim Msg, dDateTime
Set Msg = CreateObject("MailBee.Message")
' Get specified date in UTC
dDateTime = Msg.GetDateFromString("Sat, 1 Nov 2003 11:32:37 -0500", False)
' Prints "11/01/2003 16:32:37" (if locale settings are in mm/dd/yyyy format)
MsgBox dDateTime
|
|
|
You can find more information regarding this method in MailBee documentation reference (Message.GetDateFromString method).
Regards,
Alex
|
Back to Top |
|
|