I released a new version of my Clojure conversion and map transformation library to Clojars. It includes two new features:
1. Added natural conversion between Long and Date.
2. You can pass a collection of formats for converting String to Date. It attempts parsing with each of the formats and returns first result which didn’t throw ParseException.
(convert "2/12/11" (using-format ["yyyy-MM-dd" "M/dd/yy"] (to-type java.util.Date))) ; => #<Date Sat Feb 12 00:00:00 CET 2011>
Enjoy!