jimbo Posted May 22, 2013 Report Posted May 22, 2013 Am having an issue that I feel foolish asking about. Wrote a program on a V130 that requires a data table and had no issues with the table, and program runs fine. However, the times listed in the table are in 12 hours segments, i.e. AM and PM.(using RTC). Customer would like it to be in 24 hour clock, i.e. 00:00 to 23:59. I am completely unfamiliar with the direct and indirect clock functions and am wondering if that is where the answer lies. Would really appreciate someone's help Thanks in advance
Walkerok Posted May 25, 2013 Report Posted May 25, 2013 I believe that you would be able to tuse the string function "Real Time Clock to ASCII" to do what you want. You can define that your real time clock value is the time you want without Am/PM and then store that ASCII value in your data table. Keith
sgull Posted May 25, 2013 Report Posted May 25, 2013 Hi Jimbo You can use System Integers to display the time. Store the following in the data table. Hour (24 hour format)- SI35 Minute- SI36 Second- SI30 Regards Denis
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