Mobile app version of vmapp.org
Login or Join
Miguel251

: Dates in USA for the normal user I am from Europe. I am confused about dates in USA. I have seen different ways to show the date in USA: Rss feed: Thu, 15 August 2017 Schema and Sitemap:

@Miguel251

Posted in: #DateFormat #Dates #Localization #Microdata #SchemaOrg

I am from Europe. I am confused about dates in USA. I have seen different ways to show the date in USA:


Rss feed: Thu, 15 August 2017
Schema and Sitemap: 2017-08-15
Wikipedia: August 15, 2017 en.wikipedia.org/wiki/Date_and_time_notation_in_the_United_States

I have a blog. The main audience of my English version of the blog is in USA, but I do not want to alienate the rest of the English speakers. How should I show the date of the post? I mean, how would someone from the street easy understand the date?

Schema and Google make it clear how to give them the date, I have no doubts about that. My question is how to show the date to the user. For instance:

<div itemprop="datePublished" content="2016-08-15">Thu, 15 August 2017</div>


or

<div itemprop="datePublished" content="2016-08-15">August 15, 2017</div>

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Miguel251

1 Comments

Sorted by latest first Latest Oldest Best

 

@BetL925

In the US date formats, the month comes first, followed by the day followed by the year. Any of these would be most easily understood by US visitors:


August 15, 2017
Aug 15, 2017
8/15/2017


Putting the day first will sound a bit awkward to those in the US, but as long as you spell out the month name, those of us in the US would be able to understand:


15 August 2017
15 Aug 2017


As a programmer, I love the YYYY-MM-DD format. It makes the dates easy to sort. Even alphabetical order sorts them correctly. Almost nobody uses YYYY-DD-MM, so there isn't confusion about which field is the month and which is the day. However, that date format is almost never used in the US on something that is meant to be human readable.

Since websites are used by visitors from around the world that use different date conventions, it is sometimes best not to show dates at all. In some cases you might be able to replace dates with durations. Say "one year ago" rather than "May 1, 2016". That is what this site (StackExchange) does to show when items were posted. The technique may be less applicable when the date is an upcoming event for which the user needs to know the exact date and time when it will happen.

It is also possible to format dates for users in a locale aware manner. It could be possible to do so server side. The users location could be detected using either geo-ip address lookups, or the accept-language HTTP header. Most programming languages have libraries available for printing dates for various locales. It could also be done client side in JavaScript: Display date/time in user's locale format and time offset

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme