IBM Interview Question

convert a date to and other information