Network Automation Automate Tip: Date Filter

For “if newer than” and “If older than” date filters:

%DateAdd( “d”, –n, CStr( Now() ))%

This filter basically says to filter by today minus n number of days. This is handy when I want task to evaluate files aged n days from the time the date/time the task is running.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s