Time and Battery Indicators
|
10-25-2017, 06:11 AM
(This post was last modified: 10-25-2017 06:26 AM by webmasterpdx.)
Post: #8
|
|||
|
|||
RE: Time and Battery Indicators
Jacob, you can get the Time from the system variable called Time (case matters)...this is in CAS mode.
Get the time value and the value to the left of the decimal point is the hour (24 hour clock). Then, subtract the hour and multiply by 60 to get the minute left of decimal point. Then subtract the minute from that and multiply by 60 to get the seconds (round to nearest by adding 0.5 and getting integer of). e.g. Time 23.0669444444 11PM Ans-23 0.0669444444 Ans*60 4.016666664 11:04 PM Ans-4 0.016666663997 Ans*60 0.99999983 11:04:01 PM (1 second) In Home mode, Time is returned using degree-minute-second mode, except degrees is hours. You can access the CAS Time by using CAS.Time Note that I tried a program running and Time is updated while running. |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Time and Battery Indicators - Jacob Wall - 10-22-2017, 09:30 PM
RE: Time and Battery Indicators - webmasterpdx - 10-22-2017, 10:04 PM
RE: Time and Battery Indicators - cyrille de brébisson - 10-23-2017, 01:43 PM
RE: Time and Battery Indicators - Jacob Wall - 10-24-2017, 05:45 AM
RE: Time and Battery Indicators - webmasterpdx - 10-24-2017, 09:31 AM
RE: Time and Battery Indicators - Jacob Wall - 10-25-2017, 02:47 AM
RE: Time and Battery Indicators - webmasterpdx - 10-25-2017, 05:33 AM
RE: Time and Battery Indicators - webmasterpdx - 10-25-2017 06:11 AM
RE: Time and Battery Indicators - Jacob Wall - 10-25-2017, 05:38 PM
RE: Time and Battery Indicators - Tim Wessman - 10-25-2017, 06:02 PM
RE: Time and Battery Indicators - Jacob Wall - 10-25-2017, 06:46 PM
RE: Time and Battery Indicators - Tim Wessman - 10-25-2017, 07:03 PM
RE: Time and Battery Indicators - Jacob Wall - 10-25-2017, 09:42 PM
RE: Time and Battery Indicators - webmasterpdx - 10-26-2017, 06:26 AM
|
User(s) browsing this thread: 1 Guest(s)