# Displaying the Serial Number Behind the Time

In Excel date and time are saved as number, so in this article we’ll learn how we can see the number behind the date and time.

Convert time into number:

• In a cell we enter current time by pressing the key Ctrl+Shift+;
• Current time will appear in the cell

• Now press the key Ctrl+`
• To display the number behind time

Convert date into number:

• In a cell we enter current date by pressing Ctrl+;
• Current date will appear in the cell

• Press the Ctrl+` to display the number behind the date

Note: In Excel time is saved in decimal values and date has started from 1-Jan-1900 as 1st day. When we enter any date in Excel it calculates from 1-Jan-1900 till entered date in days and then returns the result.

We would love to hear from you, do let us know how we can improve, complement or innovate our work and make it better for you. Write us at info@exceltip.com

1. "Hi MMooney,
If you have a cell, A1 that contains a number representing seconds (say, 12345), then the following will convert to days (Excel's native unit of time):
A2 =((A1/60)/60)/24 {=0.1428819444...}
In other words, approximately 14% of a day.
To display that answer in, say, hours:mins:seconds, you could apply the custom format:
[h]:mm:ss
which will now display as 3:25:45 or 3 hours, 25 mins, and 45 seconds.
Hope that helps,
Alan."

2. What I'd like to do is convert integers (seconds) to time. Perhaps if there was a way to convert integers to serial numbers, then Excel would be able to format the numbers as time. Is there a way to convert integers to serial numbers?

Terms and Conditions of use

The applications/code on this site are distributed as is and without warranties or liability. In no event shall the owner of the copyrights, or the authors of the applications/code be liable for any loss of profit, any problems or any damage resulting from the use or evaluation of the applications/code.