Standard for whether you succeeded or failed to turn off the alarm is 20 seconds.

Once the alarm rings, you must turn off the alarm within 20 seconds to receive ‘success’ in alarm history.