I'm NOT an AS/400 guy but...
Try these:
<pre>
A Standard query can do that for you. Go to "Define result fields" and create these fields. GLDGJ would be your Julian date field, and GLDAT would be your new work field. Works for pre-and post 2000.
To convert a Julian date to a normal date in query:
NDAT 1900000 + gldgj 7 0
CDAT digits(ndat)
GLDAT date(cdat)
</pre><a href="http://search400.techtarget.com/tip/0,289483,sid3_gci944437,00.html">Source</a>
These might be helpful as well.
<a href="http://search400.techtarget.com/tip/0,289483,sid3_gci944437,00.html">Link 1</a>
<a href="http://quasar.as.utexas.edu/BillInfo/JulianDatesG.html">Link 2</a>
Good Luck!
-Flame
Last Wiki Answer Submitted: September 29, 2008 7:10 pm by Flame14,895 pts.
If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.