User Tools

Site Tools


api:dk11:delphi:gisinternals.xmlstringtodatetime_string

Table of Contents

XMLStringToDateTime method

DK11 for Delphi | GisInternals.XMLStringToDateTime | Enums | Fields | Methods | Types

Converts a String in the native XML format (ISO 8601) to a TDateTime instance.

Syntax

// Delphi
function XMLStringToDateTime(
  const _str : String
) : TDateTime;
// C++ Builder
extern DELPHI_PACKAGE TDateTime* XMLStringToDateTime(
  const UnicodeString _str
);

Parameters

Name Type Description
_str String ISO 8601 String to be converted

Result

Type Description
TDateTime TDateTime instance.
2017/09/04 11:15