DATEADDX for next day

Post variable and regex related tips, questions.

DATEADDX for next day

Postby melvin » Sun Sep 15, 2013 7:12 pm

User question:

I setup a windows command task in automize to run a perl script which requires a date parameter. $%DATEADDX::YY:pp:dd::pp::1%$ to pass the date 2013 10 01 when I schedule to run this task on 09/30/2013.

Could you please advise if this will work ?
melvin
Site Admin
 
Posts: 979
Joined: Thu May 25, 2006 10:20 am
Location: Santa Barbara, california

Postby melvin » Sun Sep 15, 2013 7:13 pm

$%DATEADDX::YY pp dd::dd::1%$

YY pp dd should match 2013 10 01
and it seems like you want to pass the next day.. so use dd::1

you should use the Variable menu – Variable Syntax to test your variable entered.
melvin
Site Admin
 
Posts: 979
Joined: Thu May 25, 2006 10:20 am
Location: Santa Barbara, california


Return to Variables and Regular Expressions

Who is online

Users browsing this forum: No registered users and 1 guest

cron