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

Can't find SysRtcGetTime library

eamonn
2018-04-21
2018-04-22
  • eamonn - 2018-04-21

    Hi,

    I am trying to keep a log of the time a users login on a visulisation by using an array and a combo box array.
    I can't get the current date and time. it's always 1970.
    I've seen people suggest SysRtcGetTime but I don't have it and I can't figure out where to download it.

    So where can I download it or is there another way in ST to get the current time?

    thanks

     
  • eamonn - 2018-04-22

    Never mind.
    I used a RTC.GetDateAndTime block to solve my issue.
    I figured out how to add libraries.

     

Log in to post a comment.