The Raspberry Pi saves the current system time on shutdown ensuring that newer files get newer time-stamps than old files .
To provide consistency of time for the file system , the Pi automatically saves the current system time on shutdown , and re-loads that time at boot .
Raspberry Pi