UTC to Local Time

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

    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

    m.prestel - 2020-09-10

    Hey,

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

    Best regards,
    Marcel

     
    👍
    1
    • markyyboy

      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.