Sep 6, 2000 #1 lyric Programmer Joined May 31, 2000 Messages 3 Location US Is there a way to convert dates in mm/yy/dd format to a Julian date using Cobol/400? Thanks.
Sep 11, 2000 #2 Thane Programmer Joined Feb 22, 1999 Messages 92 Location US 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] Upvote 0 Downvote
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]