Hello,
One option would be to create a
custom macro with code similar to the following:
case "customdate":
e.Match = true;
DateTime now = DateTime.Now.AddDays(-30);
string customdate = now.Date.ToString("MM/dd/yyyy") + " 00:00:00 AM";
e.Result = customdate;
Then you can use the custom macro anywhere ({% ProcessCustomMacro("customdate", "") %}) and it would return the following format: 10/03/2013 00:00:00 AM
Would this approach work for you?
Best Regards,
Sandro