Field-Map Scripting

4.1.12.11 StrToDateTime

StrToDateTime function


Prototype:

function StrToDateTime(const Data: string): double;

Description:

Converts a textual representation of date and time to its numerical representation using the current locale set in operating system.

Syntax:

StrToDateTime(Data); / variable:= StrToDateTime(Data);


Part

Description


variable

Variable declared as a double


Data

a string containing a textual representation of date and time

Return value:

A double value representing given date and time.



See also:                

Day; Month; Year; DecodeDate; DecodeDateExt; DecodeDateTimeExt; YearOf; MonthOf; DayOf; DaysInAMonth; StrToDateTime; DateToStr; DateTimeAsString; FormatElapsedTime; Date; Now; IncMonth; IncDay;