added dateFormat and timeFormat options