SetAsDateTime

<< Click to Display Table of Contents >>

Navigation:  Field Object >

SetAsDateTime

Previous pageReturn to chapter overviewNext page

Sets / returns the value of a Field as date / time.

method integer TVPEField.SetAsDateTime(

integer year,

integer month,

integer day,

integer hour,

integer minute,

integer second,

integer msec

)

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

Remarks:

The Template Object itself offers simple methods to access a Field's value directly, i.e. without retrieving a Field Object first. See SetFieldAsDateTime.

 

See also:

"dycodoc Template Processing" in the Programmer's Manual