Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

UTC to Local Time

markyyboy
2020-09-09
2020-09-14
  • markyyboy - 2020-09-09

    I have the SysRtcGetTime running on my code but it is 12 hours out.. Is there a simple way to have UTC+1200?

     
  • m.prestel - 2020-09-10

    Hey,

    SysTimeRTC contains a function to convert from utc to local. SysTimeRtcConvertUtcToLocal

    Best regards,
    Marcel

     
    πŸ‘
    1
    • markyyboy - 2020-09-14

      Thank you! I just saw on another thread that I have not installed the correct library.

       

Log in to post a comment.