Is there a way to set time & date

16 views
Skip to first unread message

Thomas Michael Watkins

unread,
Dec 5, 2016, 9:46:47 AM12/5/16
to Tasker
I'm trying to crate a task that'll allow me to add an hour to the device time, but can;t seem to find a way to set it, I can set variables as time but can't get an edited variable to become the new time.

Abdullah Alahdal

unread,
Dec 6, 2016, 12:20:52 AM12/6/16
to Tasker
If I understood your question. You want to add value to the time. EX. The Global Variable %TIME now is 08.15, you want to make it 09.25. 

In this case: just do the following:

Time Add (183)
A1: Variable Set [ Name:%mytime To:%TIMES+4500 Do Maths:On Append:Off ] 
A2: Variable Convert [ Name:%mytime Function:Seconds to Date Time Store Result In: ] 
A3: Variable Split [ Name:%mytime Splitter: Delete Base:Off ] 
A4: Flash [ Text:%mytime(2) Long:Off ] 
Reply all
Reply to author
Forward
0 new messages