Navigation: Function Reference > General Utility Functions > strToDate()

strToDate()

Top  Previous  Next

strToDate( date: String ) : TDateTime;

 

Attempts to convert a string representation of date into a TDateTime value.

 

Parameters

 

date

string value

 

var myDate: TDateTime;

 

myDate := strToDate( '03/15/2009' );