Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

SimpleDateFormat : "p.m." instead of "PM"

807569Jun 9 2006 — edited Jun 9 2006
When using SimpleDateFormat, Is it possible to change the text output?
For AM/PM output, SimpleDateFormat writes "AM" and "PM"
What we need is "a.m." and "p.m."

Can that be done?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 7 2006
Added on Jun 9 2006
2 comments
105 views