Calculate "X" Number Of Days From Now With ASP

 

This script calculates "X" number of days from now ("X" representing the number of days you set). The example below calculates, and then displays the date 7 days from now.

 

Example

 

The date 7 days from now will be: 16/09/2010

 

Script Source

 

The date 7 days from now will be:
<%
response.write(DateAdd("d",7,date()))
%>

 

Please let me know if this script was helpful to you.

[rating]