getAsDateTime method

DateTime getAsDateTime (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