VpeSetFieldAsDateTime

<< Click to Display Table of Contents >>

Navigation:  Field >

VpeSetFieldAsDateTime

Previous pageReturn to chapter overviewNext page

Sets the value of a Field as date / time.

int VpeSetFieldAsDateTime(

VpeHandle hField,

int year,

int month,

int day,

int hour,

int minute,

int second,

int msec

)

VpeHandle hField

Field Handle

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 a simple method to access a Field's value directly, i.e. without retrieving a Field Object first. See VpeSetTplFieldAsDateTime.

 

See Also:

"dycodoc Template Processing" in the Programmer's Manual