StrToDate

Top  Previous  Next

Prototype

 

FloatOutput:= StrToDate(strInput)

 

Description

 

Converts the string passed as the parameter into date.

 

Parameters

 

StrInput:  input string.

 

Returned value

 

FloatOutput: output number (date).

 

Notes

 

The resultant number shows the days that have been spent since 1 January 1900.

 

Example

 

// Insert the date

Date:='12/07/2003 12:00:36';

 

// Converts string to date format

FloatData:= StrToDate(Date);