Time user variable
Posted: Monday 02 November 2020 19:07
Hi,
I've created a user variable VH1, type time, value 05:00.
How can I assign a new value (e.g. 06:00) to this variable in a script?
I've tried:
- dz.variables('VH1').value='06:00'
- dz.variables('VH1').time.hour=6
- dz.variables('VH1') .time='06:00'
- dz.variables('VH1')=dz.variables('VH1').addHours(1)
No error, but no change!
Some idea to solve this problem?
Thanks in advance,
I've created a user variable VH1, type time, value 05:00.
How can I assign a new value (e.g. 06:00) to this variable in a script?
I've tried:
- dz.variables('VH1').value='06:00'
- dz.variables('VH1').time.hour=6
- dz.variables('VH1') .time='06:00'
- dz.variables('VH1')=dz.variables('VH1').addHours(1)
No error, but no change!
Some idea to solve this problem?
Thanks in advance,