(18.08.2018, 20:37)Erwin van der Zwart Wrote: Hi,Thanks
Try this:
BR,Code:date = grp.getvalue('date_object')
time = grp.getvalue('time_object')
cmd = string.format("date -s '%d-%d-%d %d:%d:%d'", date.year, date.month, date.day, time.hour, time.minute, time.second)
os.execute(cmd)
Erwin
Is it only for time and date? What will happen if I use astro time switch function without internet connection?
Skickat från min S41 via Tapatalk