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.

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'"%-


-- 
Groetjes, Roelof

I'll stick with gin. Champagne is just ginger ale that knows somebody. - 
Hawkeye Pierce
http://www.voormijalleen.nl/
The Bat! 3.99.24
Windows XP 5.1 Build 2600 Service Pack 2
3 pop3 accounts
OTFE enabled
P4 3GHz
2 GB RAM

Attachment: pgpQhLkvkgAtq.pgp
Description: PGP signature

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

Reply via email to