|
Oh - you're right. Thanks Jeff Stevens Mize, Houser & Co. P.A. 913 451 1882 JStevens@xxxxxxxxxxxxxx AGlauser@xxxxxxxxxxxx Sent by: rpg400-l-bounces@xxxxxxxxxxxx 12/04/2006 01:28 PM Please respond to RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx> To RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx> cc Subject RE: convert time to hundreds jstevens@xxxxxxxxxxxxxx wrote on 04/12/2006 02:20:48 PM:
/Free TimeDiffMinutes = %DIFF( StartTime: EndTime: *Seconds);
This will give a negative value, I think. To find the duration in minutes, I think it has to be:
TimeDiffMinutes = %DIFF( EndTime: StartTime: *Minutes);
HoursInHund = TimeDiffMinutes / 60; Cost = HoursInHund * HourlyRate; /End-Free
HTH, Adam ##################################################################################### Attention: The above message and/or attachment(s) is private and confidential and is intended only for the people for which it is addressed. If you are not named in the address fields, ignore the contents and delete all the material. Thank you. Have a nice day. For more information on email virus scanning, security and content management, please contact administrator@xxxxxxxxxxxx #####################################################################################
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.