The time stamp is come from openwrt ntp which is required online all the time, but if offline support is is required then real-time clock (RTC) is needed. However Yun masks all the GPIO which make direct connect RTC chip impossible. Very ugly work around is connect RTC via MCU.