Field-Map Scripting

4.1.11.4.8 WriteDate

WriteDate procedure


Prototype:

procedure WriteDate (const Name : string, Value : TDateFormat, DateFormat : string);

Description:

Adds field to XML output which contains date in predefined format.

Syntax:

TXmlOutputWrapper.WriteDate(Name, Value, DateFormat);


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


DateFormat

String expression defining format of date which should be used in XML Output (e.g. dd.mm.yyyy)







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