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 125573
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T05:10:49+00:00 2026-05-11T05:10:49+00:00

I am curious what would be the best way to handle an ambiguous date

  • 0

I am curious what would be the best way to handle an ambiguous date string in any given language. When pre-validating your user input isn’t an option, how should MM/dd/YYYY dates be parsed?

How would you parse the following ambiguous date and for what reason (statistical, cultural, etc)?

‘1111900’ as Jan 11, 1900 [M/dd/YYYY] or Nov 1, 1900 [MM/d/YYYY]?

  • 1 1 Answer
  • 1 View
  • 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. 2026-05-11T05:10:50+00:00Added an answer on May 11, 2026 at 5:10 am

    Unless you know exactly what the language/culture the format is coming from, you need to establish a common date format.

    There is something called locale-neutral date format that I would recommend. (YYYY-MM-DD)

    It’s either use that or be clear as to what part is the year, month and day. (DD MON YYYY or 22 Apr 2003)

    See: the w3’s view on date formatting.

    Edit: mistyped the locale-neutral date format

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

Sidebar

Related Questions

I'm curious what would be the best practice to extend the Date constructor. The
I am curious about what would be the best way to create a 3-tier
Just curious how you would comment this line of code: string customerNm = customerNm.EndsWith(s)
I am curious how others would handle this situation. I have a domain layer
I'm curious what programming language I would have to learn in order to create
I'm curious, how would you test a string and say yep, that is a
Just curious if there is an established best way to target child elements inside
First MVC project, just curious what the best way to manage this is. All
hey all, just getting started on hadoop and curious what the best way in
I am curious as to what is the best way to create a site-wide

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.