Trying to calc time duration