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

current time from PY

ciorry86
2016-07-17
2016-07-17
  • ciorry86 - 2016-07-17

    Hello toghether,
    how take a current date,hour and minute from Raspberry ?
    Thank you in advance !!

     
  • plcmax - 2016-07-17

    Hello,

    for me this example here give the Information how to realize this.
    l viewtopic.php?f=23&t=6247&p=12387#p12396 l
    BR
    plcmax

     
  • ciorry86 - 2016-07-17

    Ok thx !!!
    If i don't have an RTC module...but i need to get data from ethernet connection ?
    Thank you !

     
  • plcmax - 2016-07-17

    hi,
    you do not need o have a rtc module,
    by default as I understand pi does sync his time by network connection.
    Just use this project and the time should be up to date.
    Regards
    plcmax

     

Log in to post a comment.