Hello Robin Anson, on Sun, 2 Nov 2003 18:21:46 +1100 (2003-11-02, 08:21:46 in .nl) in the message with reference <mid:[EMAIL PROTECTED]> you wrote (at least in part):
RA> This appears to be different from the behaviour you are experiencing. Below are 2 macros, used on the message with reference <mid:[EMAIL PROTECTED]>, which contains header field "Date: Thu, 30 Oct 2003 18:20:34 -0500" Macro-1: -------- %WRAPPED='%- on%- %SETPATTREGEXP="(?m-s)Date\:\s*?((.*?[\d]{4})\s*?([\d]%-{0,2}\:[\d]{0,2})\s*?(.*))"%- %REGEXPMATCH="%HEADERS"%- (%ODateShort, %OTime="hh:nn:ss" in .nl) %- in the message with reference <mid:%SETPATTREGEXP="<(.*)>"%REGEXPMATCH="%OMSGID">%- you wrote (at least in part):%- '%- Results in: ----------- on Thu, 30 Oct 2003 18:20:34 -0500 (2003-10-31, 00:20:34 in .nl) in the message with reference <mid:[EMAIL PROTECTED]> you wrote (at least in part): Which is a correct result. Macro-2: (from http://www.silverstones.com/thebat/RegexPt5.html) -------- %WRAPPED='Historians believe that on %ODATE%- %SETPATTREGEXP="(?m-s)Date\:\s*?((.*?[\d]{4})\s*?([\d]{0,2}\:%- [\d]{0,2}\:[\d]{0,2})\s*?(.*))"%- %REGEXPBLINDMATCH="%HEADERS" , at %SUBPATT="3"[GMT%SUBPATT="4"]%- (which was %OTIME where I live) you wrote:'%- Results in: ----------- Historians believe that on Friday, October 31, 2003 , at 18:20:34[GMT -0500](which was 00:20 where I live) you wrote: Which is an incorrect result. RA> %ODate and %OTime give me the date and time the original message was sent, RA> transposed into my timezone. Having tried both macros on several messages, it seems that Macro-2 returns an incorrect result when "the date and time the original message was sent, transposed into my timezone" results in being 'the next day' in my timezone. It then return the transposed date, but not a transposed time. This makes the macro unusable/deceptive in my opinion. -- Kind regards, Peter Ouwehand [EMAIL PROTECTED] Ouwehand dot net - - - - - The Bat! V2.01.20 Windows 2000 5.0 Build 2195 Service Pack 4 ________________________________________________ Current version is 2.01.3 | "Using TBUDL" information: http://www.silverstones.com/thebat/TBUDLInfo.html

