set an alarm for time