Back to functions
Date & Time2026-03-1818 related articles

TIME Function in Excel

Build a valid Excel time value from hour, minute, and second components.

Syntax

TIME(hour, minute, second)

Arguments

hour

Required

The hour portion of the time value.

minute

Required

The minute portion of the time value.

second

Required

The second portion of the time value.

What it returns

Returns a valid Excel time serial number that can be formatted as time.

What TIME does

TIME turns separate hour, minute, and second values into a real Excel time. The result is a number underneath, but with time formatting it becomes readable and usable in schedules and calculations.

Practical examples

Build a time directly

=TIME(9,30,0)

This returns 9:30 AM once the cell is formatted as time.

Convert seconds into a time display

=TIME(0,0,A2)

If A2 contains seconds, TIME can help convert the value into a time-style result.

Common mistakes and notes

TIME returns a fraction of a day

That means you can add it to dates, subtract it from other times, and multiply it when you need numeric conversions.

Large inputs roll over

Values above the normal hour, minute, or second limits are normalized by Excel. That can be helpful, but it can also hide bad source data if you are not watching for it.

Related functions

Related articles

Deep dives, troubleshooting guides, and practical examples that use TIME.

AI in ExcelAdvanced
2026-03-18

The Karpathy Loop for Excel: How Autoresearch Changes the Way We Optimize Spreadsheets

Learn how Karpathy's autoresearch pattern — the AI experiment loop that ran 700 tests in two days — applies to Excel formula optimization, VBA macros, and AI-assisted spreadsheet workflows....

#ai#automation#formulas#optimization
9 min read
Read Article
Time and Date
2024-01-02

4 Methods to Insert a Timestamp in Excel Cell

Explore easy methods to insert timestamp in Excel. Learn shortcuts, formulas, and VBA for effective data tracking in our concise guide....

#date#shortcuts#time#timestamp
5 min read
Read Article
FormulasIntermediateTime and Date
2022-01-21

How to Calculate Hours Between Two Dates and Times in Excel

Learn how to calculate hours between two dates and times in Excel using simple formulas for elapsed time, decimal hours, overnight shifts, and workdays....

#time
5 min read
Read Article
BeginnerFormulas
2019-06-20

The NOW Function in Excel: What It is and How to Use It

Are you wondering how to use the now function in Excel? Look no further. Our easy step-by-step guide has all of the information that you need to know....

#time
3 min read
Read Article
FormulasTime and Date
2012-11-01

Extract Time from datetime with the MOD Function in Excel

Use the MOD function in Excel to extract a Time value from a Date-Time number. Change the cell formatting to get the time format of your choosing....

#time
2 min read
Read Article
IntermediateTime and Date
2012-10-10

How to Extract Time from DateTime values in Excel

Discover how to skillfully extract time from datetime values in Excel. Learn simple techniques to manage and analyze your data efficiently in this step-by-step guide....

#time
3 min read
Read Article
FormattingTime and Date
2011-02-14

Let Excel Convert Hours Between Two Dates and Times

Let Excel Convert Hours Between Two Dates and Times by subtracting one time/date from another the use the custom time format [h]:mm or [h]:mm:ss....

#time#elapsed-time
2 min read
Read Article
FormulasIntermediateTime and Date
2010-11-24

Converting Pace in Minutes per Mile to MPH and Back Again in Excel

I'm converting Pace to MPH and then reversing the process, converting MPH to Pace, to create a conversion chart....

#conversions#time
4 min read
Read Article
BeginnerFormulas
2010-11-22

Convert Seconds with the TIME Function in Excel

An iTunes playlist download shows time in seconds. Convert these seconds with the TIME Function in Excel and some custom formatting....

2 min read
Read Article
IntermediateTime and Date
2010-10-07

How to Convert Decimal Hours to Time in Excel

Master the art of converting decimal hours to time format in Excel. Easily track minutes and hours In work and log books, events and when analyzing time data....

#time
4 min read
Read Article
BeginnerTime and Date
2010-08-31

Date and Time Calculation in Excel

Date and Time are the components of a serial number value, and are represented by an integer and decimal, respectively....

3 min read
Read Article
FormulasIntermediate
2010-08-26

Convert Seconds to a Time Format in Excel

Convert a large number of seconds to a hours:minute:seconds format using the TIME, INT and MOD functions....

3 min read
Read Article
FormulasIntermediate
2010-08-21

Putting the TIME, INT and MOD Functions to Work in Excel

Convert a Time in seconds to a minutes:seconds format by using the INT and MOD functions inside the TIME function....

2 min read
Read Article
FormulasIntermediate
2010-08-19

The TIME Function in Excel

Using the TIME Function to display minutes and seconds in a readable time format....

1 min read
Read Article
FormulasIntermediate
2010-08-17

The MOD Function in Excel

Understanding how the MOD Function works to extract the number of seconds left over after dividing a number of seconds by 60....

2 min read
Read Article
FormulasIntermediate
2010-08-14

QUOTIENT, ROUNDDOWN and INT Functions in Excel

Three functions to get the integer portion of a division calculation: QUOTIENT, ROUNDDOWN, INT Functions in Excel....

2 min read
Read Article
FormulasIntermediate
2010-08-12

iTunes Playlist Export Task – Convert Seconds to a Time Format

Converting seconds to a minutes:seconds time format requires several formulas....

1 min read
Read Article
IntermediateTime and Date
2010-06-24

Microsoft Excel Date Systems for Windows and Mac

Excel date systems for Windows and Mac are drastically different and can be confusing. Sharing Excel files between Windows and Mac computers can be confusing because of the two different date systems....

4 min read
Read Article

Official documentation