I would suggest saving $ctime and (as you mentioned) displaying the difference with $duration...