ToDate                                                                                                     Function

 

TODATE(theString as String)

 

Description

Converts theString from the format "YYYY/MM/DD" or "YY/MM/DD" to an internal date result and returns it.

 

Example

Dim result as Date

Result=ToDate("1998/06/13") 'would set result to 1998/06/13