(Free42) UNTIL - How long until...? - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Software Libraries (/forum-10.html) +--- Forum: General Software Library (/forum-13.html) +--- Thread: (Free42) UNTIL - How long until...? (/thread-11633.html) |
(Free42) UNTIL - How long until...? - Dave Britten - 10-22-2018 01:40 PM This program uses the date/time functions of Free42, and thus will not work with a "real" 42S. It will, however, work on a DM42, which is where I wrote/use it. UNTIL will tell you how many days and/or hours/minutes/seconds until some specified date/time. It's mostly just some convenience UI around DDAYS, HMS-, etc. Run UNTIL, then use the Up and Down keys to choose one of the three menus based on whether you're comparing time, date, or both. Enter a value, and press DATE or TIME to set the reference date/time. Then press HMS, DAYS, or D,HMS to calculate the time remaining until the time/date entered, with results in hours/minutes/seconds, decimal days, or days (y) + hours/minutes/seconds (x) respectively. Example: How long until 8:00 AM Christmas day, 2018? XEQ "UNTIL" Up 12.252018 [DATE] 8.00 [TIME] [D,HMS] y: 63 x: 22.260972 63 days, 22 hours, 26 minutes, 9.72 seconds (results will obviously vary depending on when you run this). Code: 00 { 324-Byte Prgm } [attachment=6489] |