Now alarm time is a long expressed in millisecond.