BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

TIdMessage.Headers.Values['Date']

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock
View previous topic :: View next topic  
Author Message
Rael
Guest





PostPosted: Sat Feb 28, 2004 8:04 pm    Post subject: TIdMessage.Headers.Values['Date'] Reply with quote



TIdMessage.Headers.Values['Date'] is in the format of eg:
Sun, 08 Feb 2004 06:33:27 -0800 (PST)

Is there a simple way to convert this to a TDateTime?

Thanks
Rael


Back to top
Remy Lebeau (TeamB)
Guest





PostPosted: Sat Feb 28, 2004 11:29 pm    Post subject: Re: TIdMessage.Headers.Values['Date'] Reply with quote




"Rael" <nospam (AT) news (DOT) groups.com> wrote


Quote:
Is there a simple way to convert this to a TDateTime?

TIdMessage has a Date property that already does exactly that.


Gambit



Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.