Internal date format to Julian Day

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
Jay
Participant
Posts: 105
Joined: Tue Nov 11, 2003 8:28 pm

Internal date format to Julian Day

Post by Jay »

Hi All,

Has anyone done a conversion from an internal date format to Julian Day format?

If yes, please let me know.

Thanks in advance,
Jay
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

If you check the online help for Oconv and then click on the link to the 'D' (Date) conversion codes, you'll find there is a 'J' formatting option which returns the Julian Day of the year - 1 thru 366.

It also shows examples of its use.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Jay
Participant
Posts: 105
Joined: Tue Nov 11, 2003 8:28 pm

Post by Jay »

gotcha. thanks.lemme work on it.
Jay
Participant
Posts: 105
Joined: Tue Nov 11, 2003 8:28 pm

Post by Jay »

hey chulett,

got it...thanks...

jay
Post Reply