Use the same date format routine