MRM interview question

Write a function to display the date in a specific order.