CTRecord.GetFieldAsDateTime
Note: All GetFieldAs... and SetFieldAs... methods are considered obsolete. The suggested replacements are GetFieldValue and SetFieldValue.
Syntax
CTDateTime GetFieldAsDateTime(int FieldNumber)
CTDateTime GetFieldAsDateTime(String FieldName)
Parameters
Description
Retrieves the field contents as a CTDateTime object
Return
GetFieldAsDateTime() returns the contents as a CTDateTime object.
See Also
GetFieldAsBigint(), GetFieldAsBlob(), GetFieldAsBool(), GetFieldAsByte(), GetFieldAsChar(), GetFieldAsCurrency(), GetFieldAsDate(), GetFieldAsFloat(), GetFieldAsMoney(), GetFieldAsNumber(), GetFieldAsShort(), GetFieldAsSigned(), GetFieldAsString(), GetFieldAsTime(), GetFieldAsUnsigned(), GetFieldAsWord(), SetFieldAsDateTime(), GetFieldValue()