calc command duration