I want to modify this, because it only worked in .asp files, and now my document is in .php
But this script,, it's annoying me. What i want to do is, calculating how many days has gone since year 1858 month 3 and day 21 Until now, and ofc it needs to say "Today the union has existed for "year" & "month" & days"
Hope u can help!
<div id="idag" align="center"><p>I dag har foreningen eksisteret i
<%=DateDiff("yyyy",#1858-03-21#,#2014-01-01#)%>
år og
<% 'Noter at der er fratrukket 20 dage fra dage. Detta må korrigeres vid skudår!' %>
<%=DateDiff("d",#2014-01-22#,now)%> dage</p></div>