Print Page | Close Window

How to Add days to given date

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=22871
Printed Date: 28 March 2026 at 11:23pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: How to Add days to given date
Posted By: deepak
Subject: How to Add days to given date
Date Posted: 10 March 2007 at 12:49pm
How to Add days to given date

for ex: date_start is variable storing date (provided by User by filling form)..
and i want to add 180 days to this date so that i can store it in date_end variable.

date_start is date type
 
Thnx in Advance.



Replies:
Posted By: michael
Date Posted: 12 March 2007 at 1:16pm
<%=DateAdd("d",180,date_start)%>
 
Btw. If you'd searched this forum you would have gotten the answer much quicker.


-------------
http://baumannphoto.com" rel="nofollow - Blog | http://mpgtracker.com" rel="nofollow - MPG Tracker



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net