Strings do not work in subtraction.
Maybe consider reading time to find out what the function returns. After that, it should be trivial to find out how to get the time taken.
Update: ambrus found it for me - the most roundabout way to get an epoch timestamp would be
strftime( '%s', localtime( time ))
... but that's just identical to time().
In reply to Re: Operations with strftime
by Corion
in thread Operations with strftime
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |