[{"data":1,"prerenderedAt":47},["ShallowReactive",2],{"lesson-shell:dates\u002Fdate-parts:en":3},{"id":4,"who":5,"role":6,"image":7,"text":8},"date-parts","Wei Chen","owns Spark & Shine Cleaning","\u002Fpersona\u002Fwei.webp",{"none":9,"win":35,"mac":41},{"title":10,"story":11,"steps":12},"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.",[13,25],{"id":14,"title":15,"intro":16,"how":17,"example":23,"task":24},"build","Build a date with DATE","DATE makes a real date from three numbers: the year, the month and the day.",[18,19,20,21,22],"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)","Build the date for Pine Hotel. Put the result in cell F7.",{"id":26,"title":27,"intro":28,"how":29,"example":33,"task":34},"split","Take a date apart","YEAR, MONTH and DAY give back one part of a date as a number.",[30,31,21,32],"Click cell I5.","Type =MONTH( and the cell with the date. Type a closing bracket.","DAY(H5) gives the day. YEAR(H5) gives the year.","=MONTH(H5)","Get the day of the visit in H7. Put the result in cell J7.",{"title":10,"story":11,"steps":36},[37,39],{"id":14,"title":15,"intro":16,"how":38,"example":23,"task":24},[18,19,20,21,22],{"id":26,"title":27,"intro":28,"how":40,"example":33,"task":34},[30,31,21,32],{"title":10,"story":11,"steps":42},[43,45],{"id":14,"title":15,"intro":16,"how":44,"example":23,"task":24},[18,19,20,21,22],{"id":26,"title":27,"intro":28,"how":46,"example":33,"task":34},[30,31,21,32],1795376395291]