SimpleDateFormat is not threadsafe, create it when necessary