Added date formatting for date button