Yes, turn on the digital clock and use the lamp to open the sundial, then use the sun, gears, computer thing on the wall and enter the time shown on each clock.
Times are (if you want to cheat) :
.
.
.
.
.
.
.
.
.
.
.
.
.
Gears (analogue clock) - 5:00
Sun (sundial) - 12:00
Computer (digital clock) - 2:00