Understanding How Excel Records Dates and Times

Excel assigns serial values to days, hours, minutes, and seconds, which makes it possible for you to perform sophisticated date and time arithmetic. The basic unit of time in Excel is the day. Each day is represented by a serial date value. The base date, represented by the serial value 1, is Sunday, January 1, 1900. When you enter a date in your worksheet, Excel records the date as a serial value that represents the number of days between the base date and the specified date. For example, Excel represents the date January 1, 2008, by the serial value 39,448, representing the number of days between the base date—January 1, 1900—and January 1, 2008.

The time of day is a decimal value that represents the portion of a day that has passed since the day began—midnight—to the specified time. Therefore, Excel represents noon by the value 0.5 because the difference between midnight and noon is exactly half a day. Excel represents the time/date combination 12:59:54 PM, October 6, 2006, by the serial value 38996.54159 because October 6, 2006, is day 38,996 (counting January 1, 1900, as day 1), and the interval between midnight and 12:59:54 PM amounts to .54159 of a whole day.

Note

You can see the serial value of a formatted date by selecting the cell containing the date and pressing Ctrl+Shift+tilde (~). To return the cell to its date format, press Ctrl+Z.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset