|Subject||How do I use a variable to specify yesterday|
|Message||I am trying to automate copying IIS web server logs. The formate is exyyppdd.log. I want to be able to ftp the log file from the previous day. How do I use a varible to specify yesterday|
Thanks for using Automize. You should use the DATE for the exyypp' part and then the DATEADD variable for the 'dd' part.
filename = ex$%DATE::yypp%$$%DATEADD::dd::-1%$.log
The DATEADD variable was added in 5.43. You are using 5.41, so you would need to use the latest patch update for 5.x, via our support page:
-- Hitek Software