Heres one to change a 6,0 numeric date in MMDDYY form to 7,0 numeric date in CYYMMDD form.
Eval INTERNAL_DATE = %dec(%char(%date(EXTERNAL_DATE:*mdy) :*cymd0):7:0)
INTERAL_DATE is the 7,0 CYYMMDD date.
EXTERNAL_DATE is the 6,0 MMDDYY date.
Special Offer for all NICKLITTEN Punters
20% Off with Coupon: NICKLITTEN
In Partnership with SNUG CBD - American readers get 20% off
CBD helps with relaxation, focus and great for pain relief. I highly recommend the SNUG CBD Tincture to help keep you in the zone when programming!