Table of Contents

Method GetFieldDate

Namespace
YndigoBlue.Velocity.Model
Assembly
YndigoBlue.Velocity.dll

GetFieldDate(string)

Gets the value of a date field as a DateOnly. Also converts from DateTime, Timestamp, string, and integer (UNIX epoch seconds) fields.

public DateOnly GetFieldDate(string fieldName)

Parameters

fieldName string

The column name.

Returns

DateOnly

The date value.

Exceptions

Exception

Thrown when the field name is invalid or no date-compatible value can be found.