Added comparation
Added format using SimpleDateFormat