another as400 jba date conversion routine

No replies
Finkpad
Finkpad's picture
Joined: Oct 15 2008
User offline. Last seen 3 days 22 hours ago.

 Here’s the other date conversion - It’s a JBA 7,0 numeric date to 8 character alpha in JIS format (YYYYMMDD) with no separators.

 

If you want separators in your result then simply expand the result field by 2 characters (to 10) and replace the “0” in the “*jis0” with what ever separator you prefer.

 

Eval F30_EDLDAT=(%char(%date(F1_DTLP40:*cymd):*jis0))

 

Visitor Locations

Locations of visitors to this page

Recent comments

Who's online

There are currently 0 users and 18 guests online.

's beers

Beers are visible to logged in users only