Script help

General discussions about Automagic and automation in general

Moderator: Martin

Post Reply
Jptooch
Posts: 7
Joined: 01 Nov 2019 00:09

Script help

Post by Jptooch » 11 Jan 2020 00:15

I currently have a flow that helps me at work. When I trigger the flow, it will simply put the "trigger time" in the notification area on my phone. The script I use to get the trigger time is {triggertime,dateformat,hh:mm} . Here is where I need help. What script string would I use to take the trigger time and add 30 minutes to it? For example, if I execute the flow at 10:00, 10:30 is the time that would display.

Thank you in advance.

User avatar
Yam
Posts: 54
Joined: 23 Nov 2019 09:07

Re: Script help

Post by Yam » 11 Jan 2020 03:08

Action > script.

Use a function called addMinutes()
Every life altering decision you have made, has lead to you reading this.

Post Reply