×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Hi Vern,

If you are going for CYYMMDD, you might have to use the MOVE op-code, at least at V5R4 with *CYMD in factor 1.

Sorry... why would you have to use MOVE? I mean, all of the date operations support the same date formats... so if MOVE supports it, the more modern tools do as well.

MyVar = %char(%date() :*cymd0);

The only requirement is V5R1... (required for any free format).

The *CYMD format was added in V3R2. (V3R1 supported dates, but didn't support the *CYMD format.)



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.