Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6955979
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T14:48:29+00:00 2026-05-27T14:48:29+00:00

I am having similar problems to Unable to parse DateTime-string with AM/PM marker I

  • 0

I am having similar problems to
Unable to parse DateTime-string with AM/PM marker

I even tried the solution provided in that link but it did not help.

SimpleDateFormat timingFormat = new SimpleDateFormat("h:mm a", Locale.US);
Date l = timingFormat.parse(time);

but I keep receiving
java.text.ParseException: Unparseable date: “12:34”.
When i enter 12:34 AM

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T14:48:29+00:00Added an answer on May 27, 2026 at 2:48 pm

    Wait a second. The error says 12:34 is unparseable, not 12:34 AM. In that case, your input method is reading the first word up to whitespace and ignoring the “AM” part of your entry. Correct your input method so that it reads the entire input stream/string, and then it should parse correctly.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

(I'm using Visual Studio 2008, though I remember having similar problems with older versions
I have a problem that I have found many similar problems related to multi
I have a project that I am having problems with. kreveik. |-- classes |
I am having problems with functions that create files in the tmp directory such
I am having some problems with hibernate and MySQL. I've been reading but I
I have seen many others with similar problems but I cannot find the flaw
I think I might be having a stack overflow problem or something similar in
I am having a similar issue to this person . The primary difference being
Although there are some similar questions I’m having difficulties finding an answer on how
I'm having problems binding on a form with multiple models being submitted. I have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.