pub fn to_char(datetime: Expr, format: Expr) -> Expr
converts a date, time, timestamp or duration to a string based on the provided format