doubledee — 2013-12-31T19:05:00-05:00 — #1
What Date Format should I choose for my Private Messages?
(Since I'm in the U.S., answers from an American perspective are preferred, but all welcome!!)
Currently I am using this...
DATE: 2013-12-28 12:25:18
I started using such a format about 7-8 years ago, because it is logical.
Unfortunately, most End-Users are not logical, so what would be a better format?
The context is what you'd see when you open up a PM...
felgall — 2013-12-31T19:08:36-05:00 — #2
I'd let them choose the format for themselves - that's what most CMS do. You just provide them with one field in their profile for entering their desired format and then use that to determine which format to display the date in for them.
mittineague — 2013-12-31T19:46:55-05:00 — #3
I feel comfortable using 2 formats eg.
Dec. 31, 2013 for dating checks, letters, etc.(or 12-31-13 for personal use as I know what I mean by it)
yyyy-mm-dd-hh-mm-ss for code as that tends to make things easier to work with eg. sorting
I can usually figure out different formats, the only time I usually get confused is when day and month are both expressed as numbers and I'm not sure if 5 10 means May 10 or Oct 5
But yes, different cultures do use different formats so giving users an option would be best if possible.
doubledee — 2013-12-31T21:39:25-05:00 — #4
Interesting idea, but more complicated than you think...
If every Date was in a wide open space like in a Private Message, your idea would be fairly easy to implement.
But think of all the times where you have tight spaces, tables, columns, abbreviations (e.g. Feb 2014) and so on...
I'm sure there is a way to address all of those situations, but much more thinking would be involved than you are implying!
Nonetheless, a good idea to consider.
Back to my OP though...
What format would be the most tolerable for my Private Messages?
Would your average user be able to figure out...
DATE: 2013-12-05 07:31:05
force — 2013-12-31T22:01:08-05:00 — #5
The average user will get confused when using the timecode/timestamp or European style date format. Most have never seen it before.
For everything that happens behind the scenes in the code and your database, the standard timestamp is the way to go. When you present the date to the user, just format it as the standard mm/dd/yy 99:99am/pm or let the user choose.
doubledee — 2013-12-31T22:23:16-05:00 — #6
It's lonely being a geek!! :lol:
What do you think about adding the Day?
If so, what combined format for Jane-user?
felgall — 2014-01-01T01:38:00-05:00 — #7
Well you can get away with 1/1/14 for today - just about everyone will recognise that. Most of the world expects tomorrow to be 2/1/14 while a small minority expect tomorrow to be 1/2/14. Those who expect tomorrow to be 14-1-2 should be able to figure out 2/1/14 so it is only those who jumble the order and write the date as if each day consists of 12 months who will be confused by 2/1/14.
So as a minimum if you want to display it as all numbers you'd need to offer two alternatives - d/m/y and m/d/y - otherwise you will have a large group reading it wrong.
If you are going to use only one format I'd go with 2 Jan 14 as that should be clear to everyone.
shaun — 2014-01-01T10:08:57-05:00 — #8
My personal preference is this:
I don't know specifically what you're asking about, but in everything I do written, I write the date that way. It's so frustrating doing accounts and having some receipts with the 'US format' and others with the 'UK format' because months and dates are just numbers and you can't tell which is which until you have big errors staring you in the face. I hate it, hate it, hate it! argh!
For all my computing, I use DD's format:
because it allows all of my folders to be listed in chronological order.
mittineague — 2014-01-01T15:30:48-05:00 — #9
I was justy thinking, probably a carry-over from roots in English Law, but here legal documents are like day-monthname-year
This ___ day of ___ in the year ___
force — 2014-01-01T18:37:12-05:00 — #10
The US uses the month/day/year format. It tends to confuse people here when they see day/month/year.
To make sure everyone understands the date, usually writing out the month makes the date clear no matter in which order everything is displayed, such as: January 1, 2014.
doubledee — 2014-01-01T21:01:26-05:00 — #11
I started using that format in maybe 2005 because it is logical when you go from GENERAL to SPECIFIC. (It is the way most of the world is already set up...)
But your average person (and user) is a dope!!
Based on everyone's responses, I can see I'm going to have to chew on things for a while.
And while I like Felgall's idea, this is why I will never get my website done!!!! :rolleyes: (Perfection is a b tch)
Just for my Private Messages, how does this format look...
DATE: Saturday, Dec 28, 2013 @ 12:24:10 pm
Or I could do...
DATE: Sat, Dec 28, 2013 @ 12:24:10 pm
DATE: Sat, December 28, 2013 @ 12:24:10 pm
shaun — 2014-01-01T22:32:50-05:00 — #12
Has anyone ever accused you of being indecisive?
mittineague — 2014-01-01T23:19:38-05:00 — #13
Don't let perfection get in the way of progress (one of my faults I often still struggle with).
IMHO you are probably over-thinking this one.
If you don't want to store the datetime as a timestamp and let users choose a format, then I think as long as you show the month as text not numeric, and the full 4 digit year, users will have no problem with it and probably give it little, if any, thought.
As for weekdays, those are only relatively important when recent. Little difference between Tue and Wed when months ago.
doubledee — 2014-01-02T13:34:53-05:00 — #14
I don't know...
Can I get back to you on that later?
What do you mean by that?
Can you give me a few examples?
Do you think I should change?
I'm not sure...
doubledee — 2014-01-02T13:44:58-05:00 — #15
Let me let you in on a little secret... (Just among friends!)
By the end of 2014 I expect to have this fabulous new idea finally done.
It is "cutting-edge", and certain to make me rich beyond belief!!!
The world will be a better place because of this, and I'm sure to go down in history...
It is this round thing that I refer to as "The Wheel"! :lol:
(Promise not to tell anyone, right?!)
I've been known to do that - along with being "indecisive"...
For a Private Message, I like the format I posted above...
DATE: Thursday, Jan 2, 2014 @ 8:40:57 am
I also really like Felgall's idea of letting Users customize the format!! :tup: (But as mentioned, that is quite a bit more involved as it affects things system-wide. A nice-to-have for v3.0...)
Now THERE would be a cool PHP Function...
It shows the DAY when a DATE is less than, say, 2 weeks old, but after that changes to a Non-Day Date!!
felgall — 2014-01-02T16:18:01-05:00 — #16
Not all that difficult if you are using PHP and mySQL.
All your dates will need to be CCYY-MM-DD to insert into the database and you can easily use either language to retrieve dates in ANY format from the database.
For example to do it inside the SELECT statement simply have their profile give them the option to choose a date format:
Then in the select statement when you reference a date field (eg, dbdate) use:
SELECT DATE_FORMAT(dbdate,$dateformat) FROM ...
doubledee — 2014-01-02T16:44:24-05:00 — #17
Come on... It is a MAJOR DEAL, because it requires me to go through about 20,000 lines of code and make sure that Dates get implemented properly both from a backend PHP/MySQL standpoint, as well as, from a UI standpoint.
Definitely something I'll consider for v3.0, but not for now.
felgall — 2014-01-02T17:01:00-05:00 — #18
So does deciding on using ONE specific date format for everyone. The difference in the amount of work to change from one date format to another specific date format compared to changing from one format to a user selectable format is a couple of dzen lines of extra code. The actual checking throughout the entire application to find all the dates is just as necessary for changing to one particular format. That you asked the question in the first place means you have to at least do 99% of the work to switch to user selectable formats anyway.
doubledee — 2014-01-02T17:37:40-05:00 — #19
I see your point, but I think you miss mine...
I was just asking what format people thought was best for my Private Messages. (The logic being, the Date is a little more "in your face" when you are looking at a PM. In a lot of other parts of my website, Users probably don't even notice the dates...)
So, yes, the effort to switch all Dates to FORMAT_123 and the extra effort to allow people to customize all Dates to FORMAT_OF_CHOICE is minimal.
And, I agree that your idea of letting people customize things is a good idea.
I'm just saying neither will happen this build.
But as a sloppy consolation prize, you guys can help me pick the best Date Format for just my Private Messages!
Based on the conversation so far, I've got some ideas.
doubledee — 2014-01-02T18:10:53-05:00 — #20
P.S. In addition, while I get what you are saying about the effort required to hunt things down, I think the effort to code "customization" is harder than you might think.
The way I envision things is that there would be a "family" of Date Formatting styles.
For example, if you chose "American", then Dates would be formatted into one of the following formats depending on the situation...
Jan 2, 2014
Thursday, Jan 2, 2014
Doing things that way - which is the "right way" in my opinion - would take much more of an effort, although time well spent!
Just my 2-cents...
next page →