Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
What is the julian date returned for days less than 3 characters? For example if today's date was Janurary 1st 2009 would the julian date be 2009001, 20091, or something completely different

bam74:
What Mike has pointed you to is the US Naval observatory's Julian Date calculator. Joseph Scaliger defined the number of continuous days elapsed since Noon, UTC, January 1, 4713 B.C. (Astromoners use this as a reference point for long date calculations.)
While there is certainly no consensus, some folks refer to the number of days since Jan 1 of the current year, as the Julian DAY.
So, to answer your question, No, there is no agreement whether the Julian DAY is 2009001 or anything else. Also, keep in mind that some folks work with weeks so if you see 200923, ask whether that stands for Day 23 of 2009 or the 23rd week of 2009.
OFF TOPIC: Since dealing with date arithmetic in *nix can be a problem: i.e. what was the date 5 days ago, I use Scaliger's equations in shell scripts. Take a look at these links:
http://www.computing.net/answers/un...
http://www.computing.net/answers/un...

![]() |
![]() |
![]() |
| Login or Register to Reply | |
| Login | Register |
| Ads by Google |