Just a small snippet of code for this week. Had a situation where needed to insert a Date value with Korma for one of my databases. Some minor troubleshooting led me to this code snippet that made life a lot easier. Note: the parameter date was a list of strings: (Date, Month, Year).
(defn make-sql-date [date] (java.sql.Date. (.getTimeInMillis (java.util.GregorianCalendar. (Integer. (last date)) (Integer. (second date)) (Integer. (first date))))))