<!DOCTYPE html>
<html>
<body>

<%

fromDate="31-1月-09 00:00:00"
toDate="31-1月-10 23:59:00"
response.write(DateDiff("yyyy",fromDate,toDate) & "<br>")
response.write(DateDiff("q",fromDate,toDate) & "<br>")
response.write(DateDiff("m",fromDate,toDate) & "<br>")
response.write(DateDiff("y",fromDate,toDate) & "<br>")
response.write(DateDiff("d",fromDate,toDate) & "<br>")
response.write(DateDiff("w",fromDate,toDate) & "<br>")
response.write(DateDiff("ww",fromDate,toDate) & "<br>")
response.write(DateDiff("h",fromDate,toDate) & "<br>")
response.write(DateDiff("n",fromDate,toDate) & "<br>")
response.write(DateDiff("s",fromDate,toDate) & "<br>")

%>


</body>
</html>