Table of Contents

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

fieldName string

The 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.