CVDate Function

The CVDate function is provided only for compatibility with previous versions of VBA. CVDate returns a variant of subtype Date. However, because there is now an intrinsic data type of Date as of VB 5.0, you should use the CDate function, which returns a Date data type and whose syntax is identical to CVDate.

See Also

CDate Function

Get VB & VBA in a Nutshell: The Language now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.