SetFieldAsDateTime

<< Click to Display Table of Contents >>

Navigation:  Template Object >

SetFieldAsDateTime

Previous pageReturn to chapter overviewNext page

Sets the value of a Field as date / time.

method integer TVPETemplate.SetFieldAsDateTime(

string DataSourcePrefix,

string FieldName,

integer year,

integer month,

integer day,

integer hour,

integer minute,

integer second,

integer msec

)

string DataSourcePrefix

prefix of the Data Source, this is the unique name of a Data Source as defined in dycodoc

string FieldName

name of the Data Source Field

int year, month, day, hour, minute, second, msec

the integer values, which shall be assigned to the respective values of the Field as integer

Returns:

Value

Description

True

if the field was found and its value could be set

False

otherwise

 

See also:

"dycodoc Template Processing" in the Programmer's Manual