I guess I am still new. I am not sure how to pass arguments and set variables with NAnt. I would like to convert today’s date to a string like:

 

YYYYMMDD

 

My first attempt fails. In trying to get the year portion of datetime::now() it seems that I have a syntax error.

 

    <echo message="Date '${datetime::now()}' Year '${datetime::get-year(datetime::now())"/>

 

Any suggestions?

 

Thank you.

 

Kevin

Reply via email to