(11C) Time Duration

05072023, 01:15 PM
(This post was last modified: 05082023 12:21 AM by Gamo.)
Post: #1




(11C) Time Duration
HP11C or 15C program to calculate the number of
Hours and Minutes in between two times period. Procedure: Input your time in decimal format for example: 11:25 input as 11.25 9:05 input as 9.05 LBL A for the Starting Time LBL B for the Ending Time LBL C for Times Period with the same AM to AM or PM to PM time. LBL D for Times Period beyond Noon or Midnight. Example Usage: [USER] Fix 2 Calculate the hours from 12:15 PM to 4:56 PM This problem is in the same times period PM to PM so use LBL C 12.15 [A] 4.56 [B] [C] display 4.41 answer: 4 hours 41 minutes Calculate the hours from 7:45 AM to 6:05 PM This problem shift from AM to PM so use LBL D 7.45 [A] 6.05 [B] [D] display 10.20 answer: 10 hours 20 minutes  Program: Quote:LBL A Gamo 5/2023 

« Next Oldest  Next Newest »

User(s) browsing this thread: 1 Guest(s)