I have a small problem with my Codesys HMI SL visualization. I am displaying a Date/Time in the upper corner. I have configured the time using %t[hh:mm tt] so it shows AM/PM. It works great up to 11:59AM/PM. As soon as it turns to 12:00 the hour digits display 00. The minutes read correctly. Once the time hits 1:00AM/PM the hour reads correct. It's like the hour is configured for 0-11 and not 1-12. I could be mistaken, but I thought setting it up as I have the time would be pulled from my PC clock and sync to that.
Any help would be greatly appreciated.
Log in to post a comment.