Page 1 of 1

[ANSWERED]Difference between time(stamps)

PostPosted: Fri Feb 06, 2015 2:02 pm
by MarcoGT
Hi all,

I have a variable which contains a time (in H:m:s format).
As condition I would like to calculate a different between current time and the value contained in that variable. It seems that using GUI is not possible, I have to use AppleScript or Python, am I right?

Thanks
Marco

Re: Difference between time(stamps)

PostPosted: Fri Feb 06, 2015 6:46 pm
by jay (support)
Yes, if the time is stored in a variable then you'd need to write a script to compare it to the current time.

Re: [ANSWERED]Difference between time(stamps)

PostPosted: Sat Feb 07, 2015 2:25 am
by MarcoGT
And if the time is not stored in a variable? :mrgreen:

Re: [ANSWERED]Difference between time(stamps)

PostPosted: Sat Feb 07, 2015 10:30 am
by matt (support)
Take a look at this thread.