ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

WRKQRY date conversion

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • WRKQRY date conversion

    Hi,

    I have a date in YYYYMMDD with dec (8,0) format. I want to convert this into MMDDYYYY format.

    Note that this a numeric field i cant use substring and rearrange it.
    Thanx
    satish
    Anyone who has never made mistake has never tried anything new.

  • #2
    Re: WRKQRY date conversion

    this old page should help



    jamie
    All my answers were extracted from the "Big Dummy's Guide to the As400"
    and I take no responsibility for any of them.

    www.code400.com

    Comment


    • #3
      Re: WRKQRY date conversion

      Hi jamie,

      Thanks a lot. i used DIGITS function. it worked for me.
      Thanx
      satish
      Anyone who has never made mistake has never tried anything new.

      Comment

      Working...
      X