How to set the rtc from Python on Xbee Gateway

I am porting Python code from a Connectport x4 to a Xbee Gateway and I need to set the RTC. On the Connectport it used a function from the digicli module but this is not supported on the Xbee Gateway. I tried os.system(‘date -s “2016-10-24 16:00:00”’) but it says Operation not permitted.
Can anyone point me in the right direction?

From everything I am reading, you can only set the RTC (real time Clock) on the X4, X8, Connect WAN 3G and Connectport WAN VPN.

1 Like

How did you finally solve it? I have same issue than you. I need to set the system date and time and I do not have rights to do it.