When using Python validation rules, the following methods on the typedFieldObject give you read-only access to typed data within the field being validated. If the type of the field is date/time, a double is returned. Correspondingly, a double is returned for a double field type, and an integer returned for an integer field type.
The typedFieldObject behaves differently between parser engines. For details, see validation_field Object.