Audible interview question

was asked to use an obsolete Date API for implementation