> lang > cdate| Documentation |
|
Date = CDate ( Expression AS Variant ) AS Date
Converts an expression (numerical Float or String) into a Date / Time String.
![]() | Be careful! The current localization is not used by this function. |
| Message | Description |
|---|---|
| Type mismatch (#6) | Expression cannot be converted. |
PRINT CDate("09/06/1972 01:45:12")
09/06/1972 01:45:12
PRINT CDate(2484515)
05/16/2002