fun String.toDateF(format: String = "YYYY-MM-DD HH:mm:ss"): Date
Extension function to convert String to Date with a given date format.
format - date/time format
format
Return Date object