Problems with ODate

2010-01-06 Thread David Elliott
Hello Tbbeta,

This might be me in misunderstanding but I think that there is a problem with
the %ODate.

Here are the message headers

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 8 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Return-Path: xx...@x.xxx.xx
Delivery-Date: Thu, 31 Dec 2009 20:04:22 +0100
Received: from smtp3.clear.net.nz (smtp3.clear.net.nz [203.97.33.64])
by mx.kundenserver.de (node=mxbap1) with ESMTP (Nemesis)
id 0Lfz7z-1Nkrp031z9-00p8sV for xx...@xx.xxx; Thu, 31 Dec 2009 
20:04:22 +0100
Received: from [192.168.1.2]
 (xx.dsl.telstraclear.net [xx])
 by smtp3.clear.net.nz (CLEAR Net Mail)
 with ESMTPA id 0kvj000re6b5o...@smtp3.clear.net.nz for xx...@xx.xxx;
 Fri, 01 Jan 2010 08:04:19 +1300 (NZDT)
Date: Fri, 01 Jan 2010 08:04:45 +1300
From: x xx...@clear.net.nz
Subject: family
To: David Elliott xx...@xx.xxx
Message-id: 9d9b7ffca8ce3550b5e0fe133f88a...@clear.net.nz
MIME-version: 1.0 (Apple Message framework v624)
X-Mailer: Apple Mail (2.624)
Content-type: text/plain; charset=US-ASCII; format=flowed
Content-transfer-encoding: 7bit
Envelope-To: xx...@xx.xxx
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 8 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

The following macro's give me this
  
%ODATE ..:- 31 December 2009
%ODATEEN :- Thursday, December 31, 2009
%ODATESHORT .:- 31/12/2009
%ODOW ...:- Thursday
%ORCVDATE ...:- 31 December 2009
%ORCVDATEEN .:- Thursday, December 31, 2009
%ORCVDATESHORT ..:- 31/12/2009
%ORCVDOW :- Thursday
%ORCVTIME ...:- 22:08
%ORCVTIMELONG ...:- 22:08:38
%ORCVTIMELONGEN .:- 10:08:38 PM
%OTIME ..:- 19:04
%OTIMELONG ..:- 19:04:45
%OTIMELONGEN :- 7:04:45 PM

What I want is to pull out the original date and time the message was sent.
e.g. Fri, 01 Jan 2010 08:04:45

Am I doing something wrong?

-- 
Best regards,
 David  mailto:da...@elliott.uk.com



 Current beta is 4.2.18 | 'Using TBBETA' information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Re: Problems with ODate

2010-01-06 Thread Roelof Otten
Hallo David,

On Wed, 6 Jan 2010 15:52:57 +GMT (6-1-2010, 16:52 +0100, where I
live), you wrote:

DE This might be me in misunderstanding but I think that there is a problem 
with
DE the %ODate.

DE Date: Fri, 01 Jan 2010 08:04:45 +1300
DE %ODATE ..:- 31 December 2009
DE %OTIMELONG ..:- 19:04:45

DE What I want is to pull out the original date and time the message was sent.
DE e.g. Fri, 01 Jan 2010 08:04:45

DE Am I doing something wrong?

Not  really, but you're getting the time and date that the message was
sent as reckoned in your own time zone.

In  order to get the time as it was placed in the original message you
could retrieve the original date header. That can be done with:
%OHeader=Date

-- 
Groetjes, Roelof

Put off procrastinating till a later time.
http://www.voormijalleen.nl/
The Bat! 4.2.18 Christmas Edition
Windows Vista 6.0 Build 6002 Service Pack 2
6 pop3 accounts, 1 imap account
OTFE enabled
Quad Core 2.4GHz
4 GB RAM

pgpdOt558hgtv.pgp
Description: PGP signature

 Current beta is 4.2.18 | 'Using TBBETA' information:
http://www.silverstones.com/thebat/TBUDLInfo.html