To change the date and time format
1. Right-click on the cell with the date or time
2. Select Format Cells or press Ctrl + 1
3. On the Format Cells dialog box, in the Number tab under Category, click Date or Time
4. In the Type list, select a type, and click OK