try this
I also see there was use " insteed of '
value1 = grp.getvalue("32/1/20")
Code:
value1 = grp.getvalue('32/1/20')
-- time table
time = {
day = wday,
hour = value1.hour,
minute = value1.min,
second = value1.sec,
}
-- date table
date = {
day = value1.day,
month = value1.month,
year = value1.year,
}
value1 = string.format("%02d", value1.hour) .. ":" .. string.format("%02d", value1.min) .. ":" .. string.format("%02d", value1.sec)
log(value1)
grp.write('32/1/30', value1)
log(value1)
I also see there was use " insteed of '
value1 = grp.getvalue("32/1/20")