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