StrToDate
Previous  Top  Next

Prototype

FloatOutput:= StrToDate(strInput)

Description

It converts the string passed as 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

//It asks for inserting date
Date:='12/07/2003 12:00:36';

//It converts date
FloatData:= StrToDate(Date);