1 minutes is 60 .. 2 minutes is 120 and so on, you just have to calc the amount of seconds.. //echo -a -->> Time in minutes $calc(60 * 2) will give you the answer: 120 , and 60 * 3 will give you the answer 180 ..