Convert root time into date

I have been searching for some time for something that maybe trivial but without any luck.
How does one convert root time into date i.e. years months days?
thanks in advance,

I do not know what you call “root time”, but may be you can find what you need in this class: