YEAR,MONTH,DAY,HOUR,MINUTE,SECOND functions. Extract the year, month, date, time, minute, and second.(Microsoft Excel)

06/22/2024

Japanese version.

Extract the year, month, date, time, minute, and second.

How it works

=YEAR(Serial_number)
=MONTH(Serial_number)
=DAY(Serial_number)
=HOUR(Serial_number)
=MINUTE(Serial_number)
=SECOND (Serial_number)
ArgumentOmissionSpecify
Serial_numberRequired argument.Target date and time (serial value)

Example Results

Spill

If you specify the argument the cell range, it will be Spill.

---

Links

Date & Time(Microsoft Excel Functions)

How to calculate dates.(Microsoft Excel)