SimpleDateFormat Throws Java.text.ParseException for a Valid Date String

(Doc ID 2040704.1)

Last updated on AUGUST 09, 2015

Applies to:

Java SE JDK and JRE - Version 7 and later
Information in this document applies to any platform.


SimpleDateFormat throws java.text.ParseException for a valid date string:  'SimpleDateFormat.parse() method Not able to parse the date string "3/8/2015 2:19:54 AM" in the time zone "(UTC-05:00) Eastern Time (US & Canada)".'

Sample code to reproduce the issue.



Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms