G'day all.

One of our fellow list members kindly provided me with the below setup.

What it outputs currently is the following:


On Mon, 9 Aug 2004, at 19:17:07 [GMT+0800] (which was 21:17:07 Australian
Eastern Time) you wrote:



What I'd like it to give me is:



At 21:17 [GMT+1000] on Monday Aug 09 (Actual time - 19:17 Monday in Perth,
Western Australia) you wrote:



Which is to say, I'd like to remove the seconds and change some formats, but
I'm completely clueless as to how to do that. (I can deal with the simpler
stuff, but this is WAY over my head.)



However, I know (because I've had and seen much tougher questions than this
answered here every day :-) that I can find out here.

Ta.




Actually - could it give the following?

At 21:17 [GMT+1000] on Monday Aug 09 (Actual time - 7:17pm on Monday evening
in Perth, Western Australia) you wrote:


With the 'evening' bit changing depending on the time of day? (ie 0-11 =
"morning", 12-16 = "afternoon", 17-20 = "evening", 21-23 = "night")



Or is that just being stupid(er)?




======================================


On Mon, 9 Aug 2004, at 19:17:07 [GMT+0800] (which was 21:17:07 Australian
Eastern Time) you wrote:

> John, would you be able to share that macro setup with me for the local
> time/remote time thing? I've hunted through the macros and can't find it..

Here you go, might have to change the Australian Eastern Time bit, depending
on where you are:-

%WRAPPED='%SETPATTREGEXP="(?m-s)^Date:\s*(((.*?),.*?[\d]{4})\s*([\d]{0,2}:%-
[\d]{0,2}:[\d]{0,2})\s*(.*))"%-
%REGEXPBLINDMATCH="%HEADERS"%-
On %SUBPATT="2", at %SUBPATT="4" [GMT%SUBPATT="5"] %-
(which was %-
%IF:_%SUBPATT="3"_<>_%ODate="ddd"_%-
:_%ODate="ddd, h:mm:ss"_%-
:_%ODate="h:mm:ss"_ Australian Eastern Time) you wrote:'



-- 
Regards
John Phillips






===8<===========End of original message text===========




-- 

cheers, Mic
Each king in a deck of playing cards represents a great king from history: Spades - 
King David;   Hearts - Charlemagne;   Clubs - Alexander the Great;  Diamonds - Julius 
Ceaser.



________________________________________________
Current version is 2.12.00 | 'Using TBUDL' information:
http://www.silverstones.com/thebat/TBUDLInfo.html

Reply via email to