Field-Map Scripting

4.1.11.4.9 WriteDateTime

WriteDateTime procedure


Prototype:

procedure WriteDateTime (const Name : string, Value : TDateTime);

Description:

Adds DateTime field to XML output and fills it with desired data content.

Syntax:

TXmlOutputWrapper.WriteDateTime(Name, Value);


Part

Description


TXmlOutputWrapper

Variable declared as a instance of TXmlOutputWrapper


Name

Title of the field


Value

Data to be filled into the field in TDateFormat (yyyy-mm-ddThh:mm:ss)







Return value:

none

                               



See also:

CreateXMLOutput; WriteComment; WriteString; WriteInteger; WriteVariant; WriteFloat; WriteBoolean; WriteDate; WriteDateTime; WriteDateTimeAsInt64; WriteDateTimeAsInt64WithMiliseconds; AddTableData; AddLayerDate; BeginDocumentAttrs; BeginElementAttrs; EndAttrs; EndElement; EndDocument; FreeXMLOutput; CreateXMLOutputFile


Example