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 All times are GMT + 6 Hours
Forum Index -> PL/I & Assembler

 


Similar Topics
Topic Forum Replies
No new posts Sorting date into YYYYMMDD, and creat... DFSORT/ICETOOL 13
No new posts Sort card to know that creation date ... DFSORT/ICETOOL 10
No new posts Help with SORT - I need to validate d... DFSORT/ICETOOL 11
No new posts Date format correction using dfsort DFSORT/ICETOOL 3
No new posts Sorting Date Field DFSORT/ICETOOL 4
Search our Forums:


Back to Top