I have been doing this testing by adding code in include_footer.html & link.html page.
On my test site & also at http://www.myuksearch.co.uk/.../page.cgi?d=1;p=test I am seeing the output as 13617 what does this number mean?
Input
<%linkage2($ID)%>
Difference in days: <%diff%>
Output
-32
Input
<%do_days_diff($Add_Date)%>
<%diff%>
<%if diff <= 4%>
less than 4 days old
<%elsif diff > 4 and diff <= 90%>
between 4 days and 90
<%else%>
older than 90 days
<%endif%>
Output
13617 older than 90 days
How do I remove the negative sign so I can use it in the above code for custom output based on links age.
Vishal
-------------------------------------------------------
On my test site & also at http://www.myuksearch.co.uk/.../page.cgi?d=1;p=test I am seeing the output as 13617 what does this number mean?
Input
<%linkage2($ID)%>
Difference in days: <%diff%>
Output
-32
Input
<%do_days_diff($Add_Date)%>
<%diff%>
<%if diff <= 4%>
less than 4 days old
<%elsif diff > 4 and diff <= 90%>
between 4 days and 90
<%else%>
older than 90 days
<%endif%>
Output
13617 older than 90 days
How do I remove the negative sign so I can use it in the above code for custom output based on links age.
Vishal
-------------------------------------------------------