I'm trying to parse a unformatted string which contains a date (e.g. today = "08082013") to the format "08.08.2013".
This works:
(.parse (java.text.SimpleDateFormat. "ddMMyyyy") today)
=> <Date Sun Jan 01 00:00:00 CET 1950>
But when I do (.parse (java.text.SimpleDateFormat. "dd.MM.yyyy") today)
I get the error "Unparseable date: "08082013"
Why? How can I get my desired date format?