March-19th-2021, 02:20 PM
Dear Armin,
netPI has a RTC so that I suppose Linux (host OS) always has accurate date & time from RTC.
That means I don't have to set date & time to Linux at the bootup of netPI.
Then, I would like to know how to get/set current date & time from/to RTC by my own container application, please.
- I should open Control panel of Web GUI if I need to set date & time, right?
- I can just use 'hwclock' command from a guest OS (a container) to get current date & time, right?
- I don't have to access RTC directly via I2C interface, right?
I am not familiar with C/Python/,,, so I may be asking an incomprehensible question.
Thank you very much for checking my understandings above.
Best regards,
netPI has a RTC so that I suppose Linux (host OS) always has accurate date & time from RTC.
That means I don't have to set date & time to Linux at the bootup of netPI.
Then, I would like to know how to get/set current date & time from/to RTC by my own container application, please.
- I should open Control panel of Web GUI if I need to set date & time, right?
- I can just use 'hwclock' command from a guest OS (a container) to get current date & time, right?
- I don't have to access RTC directly via I2C interface, right?
I am not familiar with C/Python/,,, so I may be asking an incomprehensible question.
Thank you very much for checking my understandings above.
Best regards,