convert numbers to date format like 1 to 1st