How to read the network time?

Hi this is very important for my project.
My modem has no battery for RTC so whenever it restarts the RTC will hold some junk value. Please help me with some solution by which i can read time from network and update the RTC time on every restart…

Thanks in advance,
Chethu

viewtopic.php?f=34&t=3020&p=11061&hilit=time+network#p11061

viewtopic.php?f=3&t=1309&p=9708&hilit=time+network#p9708

viewtopic.php?f=34&t=748&p=2629&hilit=time+network#p2629

thnx awneil :wink: