Hi, The date and time format returned by utime.localtime is: (year,month,date,hours,minutes,seconds,day) I therefore modified the methods - datetime - write_all - set_datetime to reflect this format