Method GetFieldDateTime
- Namespace
- YndigoBlue.Velocity.Model
- Assembly
- YndigoBlue.Velocity.dll
GetFieldDateTime(string)
Gets the value of a DateTime field as a DateTime. Also converts from date, timestamp, string, and integer (UNIX epoch seconds) fields.
public DateTime GetFieldDateTime(string fieldName)
Parameters
fieldNamestringThe column name.
Returns
- DateTime
The date/time value.
Exceptions
- Exception
Thrown when the field name is invalid or no DateTime-compatible value can be found.