TIME

Description

TIME returns a serial number for the supplied time.

Syntax

TIME ( hour, minute, second )

 

Parameter

Description

hour

A number from 0 to 23.

minute

A number from 0 to 59.

second

A number from 0 to 59.

Examples

This function returns .52:

TIME(12, 26, 24)

This function returns .07:

TIME(1, 43, 34)

 Note:

If an Invalid formula syntax warning appears, check whether the comma is set as the list separator in your regional settings on the Windows Control Panel. If a different character is set as the list separator, use this character in the above examples in place of the comma. (Windows XP: Access the Windows Control Panel and select Regional and Language Options. On the Regional Options tab page, click Customize. On the Numbers tab page, check which character is the default list separator on your computer. Use this character in the above examples instead of the comma.

Also, see

HOUR

MINUTE

NOW

SECOND

TIMEVALUE