|
|
Log in / Subscribe / Register

Gimme Stardates!

Gimme Stardates!

Posted May 24, 2011 5:53 UTC (Tue) by ldo (guest, #40946)
Parent article: 2.8.0?

So when do we move to stardates?

Myself, I started numbering one or two projects based on the number of days (including fractions) since 00:00:00 01-Jan-1970 UTC. Generally one decimal place is enough. For example:

ldo@theon:~> bc <<<"scale = 1; ($(Julian -f) - 2440588) / 1"
15118.2

Julian is here.


to post comments

Gimme Stardates!

Posted May 24, 2011 6:23 UTC (Tue) by ncm (guest, #165) [Link]

See, it pays to read to the end. I never knew about "<<<" before.

Gimme Stardates!

Posted May 24, 2011 12:47 UTC (Tue) by stijn (subscriber, #570) [Link] (1 responses)

I use YY-DiY (two digits for year, day-in-year): date '+%y-%j'. Today is 11-144.

Gimme Stardates!

Posted May 24, 2011 22:48 UTC (Tue) by Karellen (subscriber, #67644) [Link]

Oh yeah? According to my calendar, it's 1993-09-6475 ;-)


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds