3 programs are available for this board. The first one sets date and time which is hard-coded in the program. You must therefore modify the code if you want to set the correct date and time:
https://github.com/uraich/MicroPython_IoTDemos/blob/master/drivers/ds1307/ds1307SetTime.py