MMDDYYToDate                                                                                    Function

 

MMDDYYTODATE(theString as String)

 

Description

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

 

Example

Dim result as Date

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