Hello guys,
i´m very new to arcade language so i trying to build a timer with a dinamic starting and ending time:
So i got this so far:
var dataini = Now();
var stat = "Closed";
if (stat == "Closed") {return dataini};
var datafim = 1;
So what i need is that my timer stops counting once my "stat" varaible is equal to "Closed".
I also need to grab that exact time an make it my "datafim" variable.
Hope you guys can help me... Thanks a lot in advance.
Greetings from Portugal