摘要 |
PROBLEM TO BE SOLVED: To display the days of a week extending over two months without operating a key by displaying a calendar of the week including the appointed day and at least five weeks continued to this week. SOLUTION: When a key for instructing the display of a calendar, of keys K1-KN, is operated, calendar display routine is executed by a CPU 21. The data for the appointed day and the day of the week is read from a clock circuit 26, and a prescribed value is substituted to a variable N every read weekday data. The day N+21 days before from the appointed day is determined. Namely, the N+21 days before is Sunday three weeks before the Sunday of the week including the appointed day. The data of the calendar for seven weeks with the Sunday N+21 days before as a start point is supplied from the CPU 21 to a controller 27, and written in a memory 28. Thus, the week including the appointed day and three weeks each before and after it are displayed on a LCD 30, and the day of the week extending over two months can be known without operating a key. |