IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How will i get the Julian date format in PL1


IBM Mainframe Forums -> PL/I & Assembler
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
smily
Warnings : 1

New User


Joined: 24 Jul 2006
Posts: 6

PostPosted: Fri Aug 25, 2006 2:59 pm
Reply with quote

How will i get the Julian date format in PL1
Back to top
View user's profile Send private message
Kodisala

New User


Joined: 13 Apr 2005
Posts: 5
Location: Hyderabad

PostPosted: Fri Aug 25, 2006 5:42 pm
Reply with quote

In PL/I, we have the built in function REPATTERN, which takes a value holding date in one format and returns that value converted to date in another format...

so to convert the date from YYMMDD formt to YYDDD(Julian format), we use it in the following way...

REPATTERN('060825','YYDDD','YYMMDD') returns '06237'.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> PL/I & Assembler

 


Similar Topics
Topic Forum Replies
No new posts Replacing 'YYMMDD' with date, varying... SYNCSORT 3
No new posts Populate last day of the Month in MMD... SYNCSORT 2
No new posts Modifying Date Format Using DFSORT DFSORT/ICETOOL 9
No new posts Need to convert date format DFSORT/ICETOOL 20
No new posts Need help to append a date&tsp at... DFSORT/ICETOOL 9
Search our Forums:

Back to Top