How to set RTC?

How to set RTC?
Written in maixpy documentation is not working