$time in sequence

In reply to manasa-n:

You need to explain what “does not seem to work” means. What values are you getting for start_time and finish_time?

You might try using real variables and $realtime instead.