CDate(expr) -or- CVDate(expr)
Conversion
Converts to a Date value.
Sub Main Debug.Print CDate(2) ' 1/1/00 End Sub
Copyright © Fortra, LLC and its group of companies.All trademarks and registered trademarks are the property of their respective owners.25.1.1 | 202512150851 | December 2025