BIF %SUBDT would do it.

Paul Therrien
Andeco Software, LLC
932 Saint Johns Dr
Maryville, TN 37801
225-229-2491
paultherrien@xxxxxxxxxxxxxxxxxx
www.andecosoftware.com


-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Richard Reeve
Sent: Monday, June 13, 2011 7:03 AM
To: RPG programming on the AS400 / iSeries
Subject: Extract hour/min from time field

All,

     I think that I've not gotten enough rest of late....This is a simple
problem that's making me think that I should get some sleep before I lose my
mind.  I have a time field (8 *ISO) that I need to extract hours and minutes
and print to a field defined (S 4,0) and am having problems. 

     What is the easiest way to accomplish this? 

Warmest Regards,

Richard Reeve

This thread ...

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.