I have to run a web crawler program everyday. I have to
enter two dates:
Start sweep: 2008-01-31 <---- yesterday's date
End sweep: 2008-02-01 <---- today's date {Year}-
{MonthNo}-{Day}
My question is, what variable do I have to use so that
Robotask understands that we are going back to the
previous month. {Year}-{MonthNo}-{IncDays(-1)} doesn't
work, because it gives me 2008-02-31.
Please help!
date variable question
-
- Posts: 9
- Joined: Tue Nov 25, 2008 12:25 pm
- Location: United States
- Contact:
date variable question
In this case you have to use:
{YearIncDays(-1)}-{MonthIncDays(-1)}-{IncDays(-1)}
Also if you want to get the date in current date format you may use {DateIncDays(-1)}
{YearIncDays(-1)}-{MonthIncDays(-1)}-{IncDays(-1)}
Also if you want to get the date in current date format you may use {DateIncDays(-1)}