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