Simple Variable Question

Hints, tips and tricks for newbies

Moderators: JRL, Dorian (MJT support)

Post Reply
ADP_MAN
Junior Coder
Posts: 45
Joined: Wed Apr 07, 2004 2:04 pm

Simple Variable Question

Post by ADP_MAN » Tue Apr 18, 2006 6:41 pm

Hi All,

If I need to get a macro to print todays date I can use:

GetDate>theDate
Send Character/Text>%theDate%

How can I print out yesterday's date? Can you subtract 1 from a variable?
Sorry for the basic question, but I'm a bit stumped. :shock:

Thanks in advance.
DR

User avatar
JRL
Automation Wizard
Posts: 3529
Joined: Mon Jan 10, 2005 6:22 pm
Location: Iowa

Post by JRL » Tue Apr 18, 2006 6:55 pm

Try looking HERE.

Hope this helps,
Dick

ADP_MAN
Junior Coder
Posts: 45
Joined: Wed Apr 07, 2004 2:04 pm

Post by ADP_MAN » Tue Apr 18, 2006 7:01 pm

JRL,

Thanks so much - it worked perfectly!

DR

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts