Possible Duplicate:
How to convert a date String to a Date or Calendar object?
页: 1
I have a series of date/time strings formatted like this:"9-29-2011 9:05 PM PDT" and I need to convert this string into a java Calendar object. Once I have this Calendar object it must represent exactly this date and time (including the AM or PM). Please, what is the best way to accomplish this?