innov8 Posted October 14, 2020 Report Share Posted October 14, 2020 Hi, I have a Jazz unit set up to count accumulated hours in detail. (Hour, min, sec) I currently have the ability to reset the accumulated time manually via a combination of key presses. I would like to save the reset date and time in MM/DD/YYYY & HH:MM;SS format, and display this on the display. I tried writing the current date to some MI, and display those integers, but the numbers are in a strange format. Can someone help me out here? Thanks. 1 Link to comment Share on other sites More sharing options...
MVP 2023 Joe Tauser Posted October 15, 2020 MVP 2023 Report Share Posted October 15, 2020 The current date and time are bundled together in the SI registers so that a four digit number represents hours and minutes and/or month and day in a single number. You're going to have to do some math to strip them apart by dividing by 100 and then extracting the remainder out of SI 4. Post your program so we can have a look. Joe T. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now