Tested both ways, no go.
//set %clock 09:02
alias test {
return $duration($calc($ctime($date %clock) - $ctime),2)
}
Curent time: 10:08
And what i get in return is:
-4014secs
The other code does the same thing.
;-- Edit
Now i got the code given by Deega to return a value without the - sign, but it return 2 minutes instead of 2 houers.
And now i testing the user of $ctime instead.
//set %clock $ctime
//echo -a $duration($calc($ctime - %clock))