simpledate formater to format returns incorrect.deducted date after formating [duplicate]
问题 This question already has answers here : SimpleDateFormat producing wrong date time when parsing “YYYY-MM-dd HH:mm” (5 answers) how to parse 'following string '20190911T14:37:08.7770400' into date format (3 answers) Unable to parse date Apr 15, 2020 12:14:17 AM to LocalDatetime (2 answers) Closed 4 months ago . I am attempting to parse date using SimpleDateFormat. The date is parsed successfully but the output date format is incorrect or deducted by a year, The Date method that uses