摘要 |
PROBLEM TO BE SOLVED: To prevent date and time information from being eliminated when an electronic apparatus is rebooted by an operation of a button.SOLUTION: According to an embodiment, an electronic apparatus includes a nonvolatile storage part, a button, reboot means, a memory, and control means. The reboot means reboots the electronic apparatus when a continuous operation period of time of the button exceeds a first period of time. The memory stores date and time information indicating a date and time. When the electronic apparatus is rebooted by the reboot means, the date and time information is made to be an initial value. When the continuous operation period of time of the button exceeds a second period of time shorter than the first period of time, the control means stores the date and time information in the nonvolatile storage part. |