Search The ForumSearch   RegisterRegister  LoginLogin

MailBee POP3

 AfterLogic Forum : MailBee POP3
Subject Topic: Date mail Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
marco francisco
Guest Group
Guest Group


Joined: 10 November 2003
Online Status: Online
Posts: 262
Posted: 27 September 2005 at 4:34am | IP Logged Quote marco francisco

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 View marco francisco's Profile Search for other posts by marco francisco
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 27 September 2005 at 11:04am | IP Logged Quote Alex

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 View Alex's Profile Search for other posts by Alex
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide