[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
re. date format
-----BEGIN PGP SIGNED MESSAGE-----
At 04:43 PM 11/24/97 +0200, Michael Richardson wrote:
>
>>>>>> "Camillo" == Camillo Sdrs <Camillo.Sars@DataFellows.com> writes:
> Camillo> The ISO date format "yyyy-mm-dd hh:mm:ss" is valid for
> Camillo> another 9000 years. I'd say that is a fairly good
> Camillo> minimum age for dates×. It also happens to be valid
> Camillo> for dates several hundreds of years back. And it has the
> Camillo> nice property of sorting correctly under ASCII "<", "="
> Camillo> and ">".
>
> And, if you don't want to use the ascii form, (and sort it ASCII as
>you point out), then you can just make it a "bitstream" of seconds
>since either 1970, or since 1752 (switch to Gregorian), or something
>celestrial. Days since 1900 is used in astronomy.
I intentionally left it as ASCII in human format, not seconds since any
time, since I see no use at all for computing the interval between two
times. Seconds since XXXX makes that interval computation easy, but all we
need is <, =, >. In fact, all we need is < and >, since = is only
infinitessimally probable.
- Carl
-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv
iQCVAwUBNHmmzRN3Wx8QwqUtAQF3cgQAlsdortlfh/obVyhsrunR0w2Uf+kxhvnf
K8+uKntmBBEXDjEPRQB7cZk9q7LsbfVO4Tw6TUyn1fjYHPG8RxY3zNoSTNgcJuYo
tr1m/k924rm3KXijgEjwiLNR1QwcEra+FsTVnA5H88SEnLCQ8FGuo3i/GIodRtnl
+rsepgNQUp8=
=pw1s
-----END PGP SIGNATURE-----
+------------------------------------------------------------------+
|Carl M. Ellison cme@cybercash.com http://www.clark.net/pub/cme |
|CyberCash, Inc. http://www.cybercash.com/ |
|207 Grindall Street PGP 08FF BA05 599B 49D2 23C6 6FFD 36BA D342 |
|Baltimore MD 21230-4103 T:(410) 727-4288 F:(410)727-4293 |
+------------------------------------------------------------------+
Follow-Ups:
References: