i used that same book, and got mine to work in the page init area, but the code you have has smileys in it.
I had:
timeLabel.Text = String.Format("{0:D2}:{1:D2}:{2:D2}",
and so on
You probably had that but didnt do the code tags so it put the smileys in it.... Ill play with it again as a new...