Day of week, Monday, Tuesday.....

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
Rory
Pro Scripter
Posts: 50
Joined: Thu Mar 23, 2006 2:50 pm
Location: Wisconsin

Day of week, Monday, Tuesday.....

Post by Rory » Fri May 05, 2006 9:05 pm

How can I determine which day of the week it is.
I have an application where I need to run reports for the previous day but not for Saturday or Sunday.
Therefore I would like to determine which day it is. If it is Monday then I need to run the reports for the previous Friday.

Rory

User avatar
pgriffin
Automation Wizard
Posts: 460
Joined: Wed Apr 06, 2005 5:56 pm
Location: US and Europe

Post by pgriffin » Fri May 05, 2006 9:11 pm

Read the help file regarding the DayOfWeek> command. You'll find also an explanation of how to determine the Name of the day.

Rory
Pro Scripter
Posts: 50
Joined: Thu Mar 23, 2006 2:50 pm
Location: Wisconsin

Post by Rory » Fri May 05, 2006 9:19 pm

Thanks,
That is what I was looking for

Rory

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