Hi,
In a CL, how do I get the day number in the year?
IE: today June 16 = day 167.
Mike.
In a CL, how do I get the day number in the year?
IE: today June 16 = day 167.
Mike.
pgm dcl &date *char 10 dcl &datejul *char 5 rtvjoba date(&date) cvtdat date(&date) tovar(&datejul) fromfmt(*job) tofmt(*jul) tosep(*none) sndpgmmsg msgid(cpf9897) msgf(qcpfmsg) msgdta(%sst(&datejul 3 3)) topgmq(*ext) endpgm
pgm dcl &date *char 10 dcl &datejul *char 5 rtvjoba date(&date) cvtdat date(&date) tovar(&datejul) fromfmt(*job) tofmt(*jul) tosep(*none) sndpgmmsg msgid(cpf9897) msgf(qcpfmsg) msgdta(%sst(&datejul 3 3)) topgmq(*ext) endpgm
Comment