Content originally posted in LPCWare by kfishy on Sun Jan 12 15:57:16 MST 2014
You can use the Watchdog Timer to count millisecond intervals in power-down mode, by waking up the MCU through warning interrupts. Since the frequency tolerance is +-40% over process and temperature, you should measure the actual frequency of the watchdog oscillator before using it. You can connect CLKOUT to a timer capture and measure the frequency that way. The oscillator should be stable enough over time but you can always repeat the measurement and change the watchdog period accordingly.
There's also the LPC1200 series which has an actual RTC, however it doesn't have a USB bootloader. If you're really concerned with timing accuracy though an RTC may be your only option.