Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

julian dates

Status
Not open for further replies.

lyric

Programmer
May 31, 2000
3
US
Is there a way to convert dates in mm/yy/dd format to a Julian date using Cobol/400?

Thanks.
 
First convert the date to YYYYMMDD, then use

compute temp-num = Function Integer-of-date (the-date-yyyymmdd)

Then

compute the-julian-date-YYYYDDD = function day-of-integer (temp-num)


[sig][/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top