# TIME

Spread for WinForms provides advanced software components that support Excel import/export, full cell customization, an extensive calculation engine with over 450 functions and more, all with zero dependencies on Excel.

## Content

This function returns the decimal number for the specified time.

## Syntax

TIME(*hour*,*minutes*,*seconds*)

## Arguments

This function has these arguments:

| **Argument** | **Description** |
| -------- | ----------- |
| *hour* | Hour as a number from 0 to 23. |
| *minutes* | Minutes as a number from 0 to 59. |
| *seconds* | Seconds as a number from 0 to 59. |

## Data Types

Accepts numeric data for all arguments. Returns a decimal value.

## Examples

`TIME(A1,B1,C1)`
`TIME(R1C1,R1C2,R1C3)`
`TIME(12,0,0)` gives the result 0.5
`TIME(16,48,10)` gives the result 0.7

## Version Available

This function is available in product version 1.0 or later. 

> !type=note
> **Note:** If a user uses LegacyBehaviors.CalculationEngine, TIME function will return the DateTime object instead of the serial numeric value.

## See Also

[HOUR](/spreadnet/docs/latest/online-formula/formulas-functionsall/formulas-functsFtoK/FunctionHOUR) \| [MINUTE](/spreadnet/docs/latest/online-formula/formulas-functionsall/formulas-functsMtoQ/FunctionMINUTE) \| [DAY](/spreadnet/docs/latest/online-formula/formulas-functionsall/formulas-functsDtoG/FunctionDAY) \| [NOW](/spreadnet/docs/latest/online-formula/formulas-functionsall/formulas-functsMtoQ/FunctionNOW) \| [TODAY](/spreadnet/docs/latest/online-formula/formulas-functionsall/formulas-functsTtoZ/FunctionTODAY) \| [Date and Time Functions](/spreadnet/docs/latest/online-formula/formulas-overview/formulas-functs/formulas-functtypes/formulas-functsdatetime)