The Time and Date library provides functions for converting the native time format of the real-time clock (number of seconds) into a time and date, based on some given epoch start year.
The Time and Date application shows the conversion of some "randomly" generated time and date samples and provides a Java application that performs the same computations for comparison.
Download