getAsDateTimeWithDefault method
Converts array element into a DateTime or returns default value if conversion is not possible.
index
an index of element to get.- defaultValue the default value Returns DateTime value ot the element or default value if conversion is not supported.