AsNetDateTime

<< Click to Display Table of Contents >>

Navigation:  Field Object >

AsNetDateTime

Previous pageReturn to chapter overviewNext page

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

property DateTime TVPEField.AsNetDateTime

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 .NET 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 GetFieldAsNetDateTime and SetFieldAsNetDateTime.

 

See also:

"dycodoc Template Processing" in the Programmer's Manual