Hi,
Is it possible to calculate a groupadres and use it to write a value?
Something like below?
I would write a value, depending on the month to a groupadres, but when it is november it has to write it to '56/1/151'
but when it is december i would write it to '56/1/161'
Is it possible to calculate a groupadres and use it to write a value?
Something like below?
I would write a value, depending on the month to a groupadres, but when it is november it has to write it to '56/1/151'
but when it is december i would write it to '56/1/161'
Code:
now = os.date('*t')
maand = now.month
calc = (maand -1) * 10
log(calc)
calc2 = 51 + calc
log(calc2)
new_groepsadres = '56/1/'..calc2
log(new_groepsadres)
grp.write('new_groepsadres', calc)