CDate

Date = CDate ( Expression )

Converts an expression into a date/time value.

Be careful! The current localization is NOT used by this function.


Example

PRINT CDate("09/06/1972 01:45:12")

09/06/1972 01:45:12

PRINT CDate(2484515)

05/16/2002


Previous: CByte Next: CFloat