getAsDateTime method Null safety

DateTime getAsDateTime(
  1. int index
)

Converts array element into a DateTime or returns the current date if conversion is not possible.

  • index an index of element to get. Returns DateTime value ot the element or the current date if conversion is not supported.

See getAsDateTimeWithDefault