VpeGetFieldAsDateTime

<< Click to Display Table of Contents >>

Navigation:  Field >

VpeGetFieldAsDateTime

Previous pageReturn to chapter overviewNext page

Returns the value of a Field as date / time.

int VpeGetFieldAsDateTime(

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

pointers to variables, which receive the respective value of the Field as integer

Returns:

Value

Description

True

value retrieved successfully

False

value could not be retrieved (for example if the field contained pure text that could not be converted to an double value)

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 VpeGetTplFieldAsDateTime.

 

See Also:

"dycodoc Template Processing" in the Programmer's Manual