Operating System - HP-UX
1827907 Members
2049 Online
109971 Solutions
New Discussion

julian date conversion scripting

 
SOLVED
Go to solution
Brent W. Moll
Advisor

julian date conversion scripting

Does anyone have a shell script which will convert julian dates to calendar dates?

Thank you very much :)
4 REPLIES 4
Robin Wakefield
Honored Contributor
Solution

Re: julian date conversion scripting

Hi,

Check Clay's script in the following post:

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x87ac72234586d5118ff00090279cd0f9,00.html

there may well be a later version out there too.

Rgds, Robin
Pete Randall
Outstanding Contributor

Re: julian date conversion scripting

Shhhhh! I think I hear a hammer approaching.

;^)

Pete
fg_1
Trusted Contributor

Re: julian date conversion scripting

BOOM BOOM BOOM

HAMMER TIME:

Brent, we here at the forum have pretty much
adopted A. Clay Stephenson's caljd.sh script
as the benchmark for this.

please refer to the thread below:

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x87ac72234586d5118ff00090279cd0f9,00.html

Hope this helps you as much as it's helped me.


I am attaching the script here too just in case the link fails you.


fg.

A. Clay Stephenson
Acclaimed Contributor

Re: julian date conversion scripting

My latest version is 2.10; invoke it as caljd.sh (or caljd.pl) -u for full usage and many examples.
If it ain't broke, I can fix that.