Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.
Originally posted by: awilliams1024I think you need to use the parameter within quotes to get a string value or convert it a date type.
Using the parameter without quotes results in an integer value (2011 for me). Either of the following should provide the date value:
Today_str = "{{^CurrentDate^}}"
Today_date = date("{{^CurrentDate^}}", "CCYY-MM-DD")
Regards,
Adrian