Module 9 · Dates and Times
Build and split dates

Wei has an old notebook with bookings. He wrote the year, the month and the day in three columns. That is format number two. Excel needs one real date. The new booking app goes the other way. It sends full dates, and Wei wants the parts.
Steps
Build a date with DATE
DATE makes a real date from three numbers: the year, the month and the day.
How to do it
- Select the cell for the result.
- Type =DATE(
- Type the cells for the year, the month and the day, with commas. Type a closing bracket.
- Press Enter.
- If the day is too big for the month, DATE goes on into the next month.
=DATE(C5,D5,E5)Task: Build the date for Pine Hotel. Put the result in cell F7.
Take a date apart
YEAR, MONTH and DAY give back one part of a date as a number.
How to do it
- Click cell I5.
- Type =MONTH( and the cell with the date. Type a closing bracket.
- Press Enter.
- DAY(H5) gives the day. YEAR(H5) gives the year.
=MONTH(H5)Task: Get the day of the visit in H7. Put the result in cell J7.