The utility model relates to a timer. A dial key rotating around a middle pivot is inserted into the slotted hole of an index dial of the timer, a notch matched with one end of a swinging rod is arranged below the outer side of the dial key, a first positioning slot and a second positioning slot are formed at the bottom, and a positioning bulge matched with the first positioning slot and the second positioning slot is formed on a press plate. When the dial key is shifted towards the outer side of the index dial, the outer side of the dial key is in contact with one end of the swinging rod, andthe positioning bulge is positioned inside the first positioning slot; and when the dial key is shifted towards the center of the index dial, the notch corresponds to one end of the swinging rod, andthe positioning bulge is positioned inside the second positioning slot. By adopting the above structure, the timer overcomes the shortcoming that a timing pin is easily lost and is inconvenient to operate, and has the characteristics of simple structure, good operating handfeel and high integrity. By virtue of axially arranged bolts, the timer can ensure the reliable connection between a timing gear and an hour hand shaft, so as to avoid loose of the timing gear and the hour hand shaft during production and transportation and effectively improve the service performance of the timer.