hi,
for reading a cobol indexed file i need to convert "mmddyy" date format to "ccyyddd" format.
i checked the datecalc and other scripts but couldnt modify them to cater to my need

...
The datecalc gives an output which i believe is the total days till that date, but i want to convert it in ccyyddd format
for exmple: for todays date:092706 (mmddyy) i want to convert it to "2006270" (ccyyddd), and similary say for for any other date.
thanks in advance!!!
regards,
Bhups