Programming Reference Manual
DateSerial
Syntax
DateSerial(
Year
,
Month
,
Day
)
Description
Return a
date
value.
Parameter
Description
Year
This numeric value is the year (0 to 9999). (0 to 99 are interpreted by the operating system.)
Month
This numeric value is the month (1 to 12).
Day
This numeric value is the day (1 to 31).
See Also
DateValue
,
TimeSerial
,
TimeValue
.
Example
Sub
Main
Debug
.
Print
DateSerial
(2000,7,4)
'7/4/2000
End
Sub
Home
IDE Overview
Declarations
Data Types
Assignment
Flow Control
Error Handling
Conversion
Variable Info
Constant
Math
Financial
Strings
StringClass
Objects
Time/Date
Time/Date
Date
DateAdd
DateDiff
DatePart
DateSerial
DateValue
Day
EasterDate
Hour
Minute
Month
MonthName
Now
Second
Time
Timer
TimeSerial
TimeValue
Weekday
WeekdayName
WeekNum
Year
File
User Input
User Dialog
Dialog Functions
Web Form
CCL (web server)
DDE
Settings
Miscellaneous
Operator
Translator