EmbDev.net

Forum: EmbDev.net Clear Date format


Author: Gast (Guest)
Posted on:

Rate this post
0 useful
not useful
Admin:
We have several date formates

04. 03. 2009 in Europe
03. 04. 2009 in US
09 03 04 (or very similar) in Asia

Do you think its possible to use 3 letters for the month?
eg Mar 04. 2009  ?
Only this kind of Format - letters for the month and 4 digits for the 
year is absolutely clear.

Best Regards

Gast

Author: Jörg Wunsch (dl8dtl) (Moderator)
Posted on:

Rate this post
0 useful
not useful
Gast wrote:

> Only this kind of Format - letters for the month and 4 digits for the
> year is absolutely clear.

Nope.  2009-03-04 is also absolutely clear.  Please refer to ISO 8601
which standardizes exactly that format.

http://en.wikipedia.org/wiki/ISO_8601

Author: Andreas Schwarz (andreas) (Admin) Flattr this
Posted on:

Rate this post
0 useful
not useful
I am aware of the date compatibility issues, that's why I chose the ISO 
date format. But I agree that writing the month in letters makes it 
easier to understand.

Author: Flamer (Guest)
Posted on:

Rate this post
0 useful
not useful
> Nope.  2009-03-04 is also absolutely clear.  Please refer to ISO 8601
> which standardizes exactly that format.
It is clear only for peoples who know ISO-8601. I think the idea with 
month names are better than ISO-8601.

Author: Thomas Müller (thomas1123)
Posted on:

Rate this post
0 useful
not useful
I think the question is what do you want to do with this "date" ?

If you want to show it on a clock then i think it wuld be better to use 
three letters for the month because it is easyer to read the date.

If you want to use this "date" in a log-file or something else where you 
want to sort it then it wuld be better to use the ISO format because it 
is easyer to sort thingy by date like backupfiles etc.

example if you sort it alfabetical:

apr-12-2345
feb-12-2345
jan-12-2345
mar-12-2345

2345-01-12
2345-02-12
2345-03-12
2345-04-12

Reply

Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]




Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.