Hi
I'm looking for advice of getting the day of the previous date.
Example,
DAY>THIS_DAY ----------> gives THIS_DAY = 11
How can I get another Variable that carries YESTERDAY = 10?
THANK YOU.
looking for way to get yesterday's day
Moderators: JRL, Dorian (MJT support)
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Like this:
//These two lines required at top of script if you don't
//already have a VBSTART..VBEND Block
VBSTART
VBEND
//get day of month of yesterday's date
VBEval>Day(Date-1),yesterday
//These two lines required at top of script if you don't
//already have a VBSTART..VBEND Block
VBSTART
VBEND
//get day of month of yesterday's date
VBEval>Day(Date-1),yesterday
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?