AsPythonDateTime

<< Click to Display Table of Contents >>

Navigation:  Field Object >

AsPythonDateTime

Previous pageReturn to chapter overviewNext page

[Python only]

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

property double TVPEField.AsPythonDateTime

read / write; runtime only

Remarks:

In case of an error, an exception is thrown (for example out of memory or the field contained pure text that could not be converted to a Java date / time value).

 

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

 

See also:

"dycodoc Template Processing" in the Programmer's Manual