Hello Roelof,

Wednesday, October 3, 2007, 10:16:18 PM, you wrote:

> Hallo pkr,

> On Wed, 3 Oct 2007 20:55:57 +0530GMT (3-10-2007, 17:25 +0200, where I
> live), you wrote:

PB>> Hello Roelof,

> No reason to address your message to a single user. There are more of
> us that answer questions here.

Noted for compliance.

PB>> I need to type "for the month of ........"
PB>> in mass-mailing email, have a QT

PB>> intend to pick up month from month minus 1
PB>> from macro %DATEEN
PB>> so that it picks up,October - 1 = September,2007

> Subtracting won't, because that'll give you a zero in January in stead
> of a twelve for December. So I suggest something like this:

> %If:"%Date='m'"="1":"December, %Calc=_%Date='yyyy'-1_"%-
> %If:"%Date='m'"="2":"January, %Date='yyyy'"%-
> %If:"%Date='m'"="3":"February, %Date='yyyy'"%-
> %If:"%Date='m'"="4":"March, %Date='yyyy'"%-
> %If:"%Date='m'"="5":"April, %Date='yyyy'"%-
> %If:"%Date='m'"="6":"May, %Date='yyyy'"%-
> %If:"%Date='m'"="7":"June, %Date='yyyy'"%-
> %If:"%Date='m'"="8":"July, %Date='yyyy'"%-
> %If:"%Date='m'"="9":"August, %Date='yyyy'"%-
> %If:"%Date='m'"="10":"September, %Date='yyyy'"%-
> %If:"%Date='m'"="11":"October, %Date='yyyy'"%-
> %If:"%Date='m'"="12":"November, %Date='yyyy'"%-

Thanks, it worked wonderfully.

I want to learn all about Regex from A to Z. Any place which i should
look first for all about Regex.



-- 
Best regards,
 pkr.bat                            mailto:[EMAIL PROTECTED]


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

Reply via email to