Programming Reference Manual
DateValue
Syntax
DateValue(
Date$
)
Description
Return the day part of the date encoded as a string.
Parameter
Description
Date$
Convert this string value to the day part of date it represents.
See Also
DateSerial
,
TimeSerial
,
TimeValue
.
Example
Sub
Main
Debug
.
Print
DateValue
(
"1/1/2000 12:00:01 AM"
)
'1/1/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