Hi,
Can some one help me out on converting julian dates to YYYYMMDD format?
I/P dates are of format YJJJ and sample values are 8222 and 8225
Y-is the last digit of the year
JJJ-Number of the day in the year
Any help is appreciated
Converting Julian dates to YYYYMMDD
Moderators: chulett, rschirm, roy
This is already discussed in this forum.
Refer the below link. This may helpfull to you
viewtopic.php?t=102387&highlight=julian+date
Refer the below link. This may helpfull to you
viewtopic.php?t=102387&highlight=julian+date
Thanks,
Raamc
Raamc
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
How do you know to which year the y refers? Is it 1998, 2008, 2018 or something else (for example 8 years after some arbitrary zero year)? What will it be when your job executes in 2011 if y is 8 ?
<rant>
Who writes these specifications anyway? The need for this compression went away when disks became cheap, at least ten years ago!
</rant>
<rant>
Who writes these specifications anyway? The need for this compression went away when disks became cheap, at least ten years ago!
</rant>
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.