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

Free Components

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, San Diego Web Design

ASP Nuke CMS
Free Open Source
Content Manager
GoSwap Auctions
Buy, Sell
No Fees!

Contact Us | Contribute | About | Site Map



"All programmers are playwrights and all computers are lousy actors." - Anon

©2012 San Diego Web Design - Orvado Technologies, All Rights Reserved
ASP Nut provides articles and reference documentation for Active Server Page developers.