CDate Function

Syntax:

CDate(Num|$)-or-

Group:

Conversion

Description: Converts to a date value.

Parameters:

Parameter

Description

Num|$

Convert a number or string value to a date value.

Example:

Sub Main

  Debug.Print CDate(2) ' 1/1/00

EndSub