programming-examples/asp/More_Code_Snippets/Using DateDiff.asp
2019-11-18 14:25:58 +01:00

6 lines
142 B
Plaintext

<%
Dim date1 , date2
date1 = Now()
date2 = "25/12/2004"
Response.Write (DateDiff("d" , date1 , date2 ) & " days till Christmas ")
%>