DateToStr

Top  Previous  Next

Prototype

 

StrOutput:= DateToStr(floatInput)

 

Description

 

It converts a data in a string.

 

Parameters

 

floatInput: Float data to be converted in a string.

 

Returned value

 

StrOutput: the string containing transformed data.

 

Notes

 

None.

 

Example

 

//It sets data and time

DataOra:=Now;

 

//It converts the data in string

DataOraStr:=DateToStr(DataOra);

 

//It shows a message

ShowMessage('Today is:' + DataOraStr);