fun String.toDateF(format: String = KV_DEFAULT_DATE_FORMAT): Date
Extension function to convert String to Date with a given date format.
format - date/time format
format
Return Date object