Yer right! Actually, it's worse than that. 11 am to Noon would be a positive 60*60*10^6 no matter whether midnight had passed once or twice or thrice.
Charles -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Peter Hunkeler Sent: Sunday, October 22, 2017 3:40 AM To: [email protected] Subject: AW: Re: Time Mic conversion >*Assuming it did not cross a midnight** boundary. (I guess if >difference is negative, add 86400*10^6. Repeat until not negative.) "...Repeat until not negative"? Since it is time since midnight, it will not cumulate over more than one day. In other words, it will become positive after first addition no matter how many midnights have passed. If you cannot guarantee the difference between to values is always less than 24 hours, you must have the corresponding date as well to do the calculation right. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
