Hi tneela, there is an example available on the demo-side exact for your case. Just have a look:
Although if you're more the type, which wants to learn from a book - here is a new book for RichFace:
The book is nearly based on the available online-demo. But contains more SRC-examples, if necessary.
Hope this informations helps you...8-}
Thank you very much for your reply. Now I added clock to my page. Its working fine.