Tested both ways, no go.
Code:
//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))

Last edited by sparta; 04/03/13 09:28 AM.

if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }