View previous topic :: View next topic |
Author |
Message |
RajSanj Beginner
Joined: 17 Mar 2006 Posts: 15 Topics: 7
|
Posted: Wed Jun 07, 2006 3:15 pm Post subject: Date conversion from yyyy/ddd to mm/dd/yy in rexx |
|
|
Hi,
Do we have any function to convert SYSCREATE(in year/day format) to standard format in mm/dd/yy using REXX. I have tried using date function it is not working. Can someone help.
Thanks,
RajSanj |
|
Back to top |
|
 |
superk Advanced

Joined: 19 Dec 2002 Posts: 684 Topics: 5
|
Posted: Wed Jun 07, 2006 3:37 pm Post subject: |
|
|
Code: |
/* REXX */
X = LISTDSI(SYSPROC 'FILE')
PARSE VAR SYSCREATE 1 CC 3 YY '/' DDD .
JDATE = YY||DDD
SAY JDATE
GDATE = DATE('U',JDATE,'J')
SAY GDATE
|
|
|
Back to top |
|
 |
RajSanj Beginner
Joined: 17 Mar 2006 Posts: 15 Topics: 7
|
Posted: Wed Jun 07, 2006 4:08 pm Post subject: |
|
|
Thanks alot Superk it works.
Regards,
RajSanj |
|
Back to top |
|
 |
|
|