Home  |  Latest News  |  Contribute  |  F.A.Q.  |  Account  |  Scripts | About
Search ASPNut:
 
ASP Reference
Server Variables
ASP Glossary
Related Sites

Free Components

HTML Reference
Web Colors
Entities
CSS Level 1
Encode/Decode
Glossary

Our Sponsors
ASP Nuke CMS
Free Auctions
PHP 5 Script
Funktastic Blog
ULost Directory
Team Task

 

 

 

 

 

 

 

 

 

 

 

 

DateAdd

The DateAdd function performs date calculations by adding or subtracting time periods to the specified date. The parameters indicate the unit of time and number of units to add or subtract to the date.

If the number of units is negatve than a subtraction occurs, if the number is positive, an addition occurs.

Dim dDate

dDate = DateAdd("d", 1, Now())


Unit Meaning
d Day
m Month
yyyy Year
q Quarter
w Weekday
ww Week of Year
h Hour
n Minute
s Second


Orvado Technologies

ASP Nuke CMS
Free Open Source
Content Manager
HomeFix Boards
Home Remodeling
Message Boards

Contact Us | Contribute | About | Site Map



"True friends stab you in the front." - Oscar Wilde

©2007 Orvado Technologies, All Rights Reserved
ASP Nut provides articles and reference documentation for Active Server Page developers.