# addSeconds in Expression scripting not working with Tag value

**URL:** <https://forum.inductiveautomation.com/t/addseconds-in-expression-scripting-not-working-with-tag-value/90152>\
**Category:** Ignition\
**Tags:** ignition81, perspective, scripting\
**Created:** [May 9, 2024, 12:10pm UTC](https://forum.inductiveautomation.com/t/addseconds-in-expression-scripting-not-working-with-tag-value/90152 "2024-05-09T12:10:11Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [May 9, 2024, 12:35pm UTC](https://forum.inductiveautomation.com/t/addseconds-in-expression-scripting-not-working-with-tag-value/90152/4 "2024-05-09T12:35:39Z")

</div>

Post your code (rather than a picture of your code) so we don't have to type it out. See [Wiki - how to post code on this forum](https://forum.inductiveautomation.com/t/wiki-how-to-post-code-on-this-forum/77831).

system.tag.writeBlocking's syntax is  
`system.tag.writeBlocking([list-of-tag-paths], [list-of-values])`

It runs through the list of tag paths and does a write to each of those using the corresponding value from the list of values. You need to get that value using `system.tag.readBlocking([list-of-tag-paths])` first.

---

_[View the full topic](https://forum.inductiveautomation.com/t/addseconds-in-expression-scripting-not-working-with-tag-value/90152)._
