| foxhound | 
					 | 
			
|---|---|
| 
					 I want to display a "since" date in my lists. It should always display the date of the current day minus 31 days. I am trying things like this: 
<h3>Most read news since {PAGE_ROW_DATE_STAMP|cot_date('mktime () - 30 * 3600 * 24', $this)}</h3>
<h3>Most read news since {PAGE_ROW_DATE_STAMP|cot_date("d-m-Y", UNIX_TIMESTAMP() -2629743, $this)}</h3>
 If I just do 
<h3>Most read news since {PAGE_ROW_DATE_STAMP|cot_date("d-m-Y", $this)}</h3>
 I get the start date of UNIX time, so I am on the right path. All I have to figure out now is how to correctly add the UNIX_TIMESTAMP () to add to that value and than extract 30 or 31 days from that. I have checked the php code manual, I also checked the Function Summary:http://www.cotonti.com/reference/cotonti/package-functions.htm but I just can not figure it out. maybe its not possible to display that date sine we do not have a good reference point? Right now PAGE_ROW_DATE_STAMP  is used but I should actually reference the default time on the server, I think? 
 I hope anyone here has a good idea and can help me. <img src="http://www.armaholic.com/datas/thumbs/green-sea-battalion-uniforms-version-03-preview_4.jpg" alt="green-sea-battalion-uniforms-version-03-" /> 
					 |