ASP Built In Functions
Home
Search
Tell a Friend

ABS()
Array()
ASC()
CHR()
CInt()
CStr()
Date()
DateAdd()
DateDiff()
DatePart()
DateSerial()
DateValue()
Day()
Fix()
FormatCurrency()
FormatDateTime()
FormatNumber()
FormatPercent()
Hour()
InStr()
InStrRev()
Int()
IsArray()
IsDate()
IsEmpty()
IsNull()
IsNumeric()
IsObject()
Join()
LBound()
LCase()
Left()
Len()
LTrim()
Mid()
Minute()
Month()
MonthName()
Now()
Replace()
RGB()
Right()
Rnd()
Round()
RTrim()
Second()
Space()
Split()
Sqr()
strComp()
String()
StrReverse()
Time()
TimeSerial()
TimeValue()
TypeName()
UBound()
UCase()
VarType()
WeekDay()
WeekDayName()
Year()


DateSerial()
Purpose:
Returns a date for a specific year, month and day
DataType:
Date
Syntax:
DateSerial(year, month, day)
Arguments:
"year" is any valid integer between 100 and 9999
"month" is any valid integer from 1 to 12
"day" is any valida integer between 1 to 31
Sample:
response.write DateSerial(Year(now) + 3, Month(Now), Day(Now))
Result:
9/9/2013

Comments:
For the year argument, values between 0 and 29 are interpreted as the years 2000–2029. Values between 30 and 99 are interpreted as the years 1930–1999. For all other year arguments, use a four-digit year (for example, 1800).
Date Added: 1/9/2001

My3C's
perrychicker
It's easy... it's a PSACAKE!
Back | Tell A Friend | Search this Site
© 1998 - 2010 psacake.com
Version 3.23

Send me One Million FREE Guaranteed Visitors