Crappy RTC implementation.