I wrote an NTP client that gets the current date time from an NTP server. Since the P2 has a boot time counter (in seconds) and a very accurate oscillator, it was very easy to make a realtime clock without additional hardware.
Code and discussion here: https://forums.parallax.com/discussio...