add date format for button