old-www/pub/Linux/docs/ldp-archived/mail_archives/ldp-discuss/msg04609.html

133 lines
5.1 KiB
HTML

<!-- MHonArc v2.5.0b2 -->
<!--X-Subject: Re: date formats -->
<!--X-From-R13: Egrva Uwbra <ftwbraNznvy.alk.arg> -->
<!--X-Date: Fri, 8 Dec 2000 03:08:17 &#45;0500 (EST) -->
<!--X-Message-Id: 3A309782.55913046@mail.nyx.net -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 20001207090627.A11176@lupercalia.net -->
<!--X-Reference: dmerrill@lupercalia.net -->
<!--X-Reference: 10012071040.ZM18879@hoop.timonium.sgi.com -->
<!--X-Reference: 20001207110734.E12636@lupercalia.net -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML//EN">
<html>
<head>
<title>Re: date formats</title>
<link rev="made" href="mailto:sgjoen@mail.nyx.net">
</head>
<body>
<!--X-Body-Begin-->
<!--X-User-Header-->
<!--X-User-Header-End-->
<!--X-TopPNI-->
<hr>
[<a href="msg04608.html">Date Prev</a>][<a href="msg04610.html">Date Next</a>][<a href="msg04605.html">Thread Prev</a>][<a href="msg04612.html">Thread Next</a>][<a href="maillist.html#04609">Date Index</a>][<a href="threads.html#04609">Thread Index</a>]
<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<h1>Re: date formats</h1>
<hr>
<!--X-Subject-Header-End-->
<!--X-Head-of-Message-->
<ul>
<li><em>To</em>: David Merrill &lt;<A HREF="mailto:dmerrill@lupercalia.net">dmerrill@lupercalia.net</A>&gt;</li>
<li><em>Subject</em>: Re: date formats</li>
<li><em>From</em>: Stein Gjoen &lt;<A HREF="mailto:sgjoen@mail.nyx.net">sgjoen@mail.nyx.net</A>&gt;</li>
<li><em>Date</em>: Fri, 08 Dec 2000 09:10:42 +0100</li>
<li><em>Cc</em>: <A HREF="mailto:ldp-discuss@lists.debian.org">ldp-discuss@lists.debian.org</A></li>
<li><em>References</em>: &lt;<a href="msg04593.html">20001207090627.A11176@lupercalia.net</a>&gt; &lt;dmerrill@lupercalia.net&gt; &lt;<a href="msg04594.html">10012071040.ZM18879@hoop.timonium.sgi.com</a>&gt; &lt;<a href="msg04595.html">20001207110734.E12636@lupercalia.net</a>&gt;</li>
<li><em>Resent-date</em>: Fri, 8 Dec 2000 03:08:17 -0500 (EST)</li>
<li><em>Resent-from</em>: <A HREF="mailto:ldp-discuss@lists.debian.org">ldp-discuss@lists.debian.org</A></li>
<li><em>Resent-message-id</em>: &lt;4taEvC.A.uLD.qeJM6@murphy&gt;</li>
<li><em>Resent-sender</em>: <A HREF="mailto:ldp-discuss-request@lists.debian.org">ldp-discuss-request@lists.debian.org</A></li>
</ul>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<hr>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<pre>
David Merrill wrote:
[snip]
&gt; {Jan, Feb, etc} regardless of the language doesn't make sense. I like
&gt; YYYY-MM-DD because 1) it is language-independent, 2) it follows the
&gt; ISO standard 3) it is easily parsed 4) it is unambiguous.
&gt;
&gt; In support of 4):
&gt;
&gt; AFAIK, nobody uses YYYY-MM-DD. The ambiguous dates are those where the
&gt; year falls last (US usage is MM-DD-YYYY while English (and others) is
&gt; DD-MM-YYYY).
Trivia: In Japan they use YYYY-MM-DD, often with kanji for year, month
and day. Inother countries people use &quot;/&quot; rather than &quot;-&quot; to separate
the fields. Al in all it is a complete mess.
Also I believe there is a GNU package that deals with most date formats
in use and also tries to some extent guess format of a given string.
<A HREF="http://www.gnu.org/manual/glibc-2.0.6/html_chapter/libc_17.html">http://www.gnu.org/manual/glibc-2.0.6/html_chapter/libc_17.html</A>
&quot;This chapter describes functions for manipulating dates and times,
including functions for determining what the current time is and
conversion between different time representations. &quot;
Regards,
Stein Gjoen
--
To UNSUBSCRIBE, email to ldp-discuss-request@lists.debian.org
with a subject of &quot;unsubscribe&quot;. Trouble? Contact listmaster@lists.debian.org
</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<ul><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><a name="04612" href="msg04612.html">RE: date formats</a></strong>
<ul><li><em>From:</em> &quot;Craig M. Buchek&quot; &lt;cbuchek@linuxgruven.com&gt;</li></ul></li>
</ul></li></ul>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="04593" href="msg04593.html">date formats</a></strong>
<ul><li><em>From:</em> David Merrill &lt;dmerrill@lupercalia.net&gt;</li></ul></li>
<li><strong><a name="04594" href="msg04594.html">Re: date formats</a></strong>
<ul><li><em>From:</em> &quot;Greg Ferguson&quot; &lt;gferg@hoop.timonium.sgi.com&gt;</li></ul></li>
<li><strong><a name="04595" href="msg04595.html">Re: date formats</a></strong>
<ul><li><em>From:</em> David Merrill &lt;dmerrill@lupercalia.net&gt;</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg04608.html">Re: date formats</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg04610.html">Re: HOWTO filenames</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg04605.html">Re: date formats</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg04612.html">RE: date formats</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#04609"><strong>Date</strong></a></li>
<li><a href="threads.html#04609"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>