Hello Januk Aggarwal,
On Sun, 10 Sep 2000 17:20:22 -0700 GMT your local time,
which was Monday, September 11, 2000, 7:20:22 AM (GMT+0700) my local time,
Januk Aggarwal wrote:


> Hello John,


> On  Sunday, September 10, 2000  at  11:07:23 GMT +1000 (which was 6:07 PM
> where I live) witnesses say John Phillips typed:


>> How do you get the local time "where you live" to display in replies?
>> What macro is this?

>  This uses a regular expression.  The one I have is based on one
>  developed by Marck D. Pearlstone.  Include the following into your
>  reply template:

> 
>%SETPATTREGEXP="(?m-s)Date\:\s*?((.*?[\d]{4})\s*?([\d]{0,2}\:[\d]{0,2}\:[\d]{0,2})\s*?(.*))"%REGEXPBLINDMATCH="%HEADERS"
> On  %ODATE  at  %SUBPATT="3" GMT%SUBPATT="4" (which was %OTIME
> where I live) witnesses say %OFROMNAME typed:

>> How about local date?

>  The info comes from the Headers.  So if the local date is in the
>  headers, I'm sure you could probably extract it in your templates.
>  Unfortunately, I am only familiar with the *very* basics of regexp.
>  For this, you'd need someone better versed.

Hello %OFROMNAME,
On%SETPATTREGEXP="(?m-s)^Date\:\s*?((.*?[\d]{4})\s*?([\d]{0,2}\:[\d]{0,2}\:[\d]{0,2})\s*?(.*))"%REGEXPMATCH="%HEADERS"
 GMT your local time,
which was %ODateEn, %OTimeLongEn (GMT+0700) my local time,
%OFROMNAME wrote:

%Cursor
%QUOTES="%SETPATTREGEXP=""(?is)(-----BEGIN PGP SIGNED.*?\n(Hash:.*?\n)?\s*)?(.*?)(^(- 
--|--\n|-----BEGIN PGP
SIGNATURE)|\z)""%REGEXPBLINDMATCH=""%text""%SUBPATT=""3"""

And another one.. Note that GMT+0700 is hardwired into it in my case.
Not sure how many people on the list had a hand in creating this one,
quite a few if I remember....

By the way it also includes the expression to remove the pgp banners added to
some msgs...





Best regards,
 
tracer


-- 

Using theBAT 1.46 Beta/3 with Windows NT
mail to : [EMAIL PROTECTED]
I am using FireTalk: 321338
ICQ: on request 
Website: www.phuketcomputers.com
Our special website hosting/mailservers are now operational

-- 
--------------------------------------------------------------
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   <mailto:[EMAIL PROTECTED]>
To Unsubscribe from TBUDL, double click here and send the message:
   <mailto:[EMAIL PROTECTED]>
--------------------------------------------------------------

You are subscribed as : [email protected]


Reply via email to