|
This one did the trick.... myVar = %int(%char(%date(): *USA0)); And thank you to everyone else, who responded so quickly.... Thanks, Tim > -----Original Message----- > From: rpg400-l-bounces@xxxxxxxxxxxx [SMTP:rpg400-l-bounces@xxxxxxxxxxxx] > On Behalf Of Scott Klement > Sent: Wednesday, March 30, 2005 11:14 AM > To: RPG programming on the AS400 / iSeries > Subject: Re: %date > > Hi Tim, > > On V5R2: myVar = %int(%char(%date(): *USA0)); This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential or privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy the message.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.