CDate Function

Syntax:

CDate(Num|$)

-or-

CVDate(Num|$)

Group: Conversion

Description:
Convert to a date value.

Parameter Description

Num|$ Convert a number or string value to a date value.

Example:

Sub Main
  Debug.Print CDate(2) ' 1/1/00
End
Sub