Applies ToEdição de Assinatura do SharePoint Server SharePoint Server 2019 SharePoint Server 2016 SharePoint Server 2013 Standard SharePoint Server 2013 Enterprise SharePoint no Microsoft 365 SharePoint Foundation 2010 SharePoint Server 2010 O SharePoint no Microsoft 365 Pequenas Empresas Windows SharePoint Services 3.0

Returns the decimal number for a particular time. The decimal number returned by TIME is a value ranging from 0 (zero) to 0.99999999, representing the times from 0:00:00 (12:00:00 AM) to 23:59:59 (11:59:59 P.M.).

Syntax

TIME(hour,minute,second)

Hour     is a number from 0 (zero) to 32767 representing the hour. Any value greater than 23 will be divided by 24 and the remainder will be treated as the hour value. For example, TIME(27,0,0) = TIME(3,0,0) = .125 or 3:00 AM.

Minute     is a number from 0 to 32767 representing the minute. Any value greater than 59 will be converted to hours and minutes. For example, TIME(0,750,0) = TIME(12,30,0) = .520833 or 12:30 PM.

Second     is a number from 0 to 32767 representing the second. Any value greater than 59 will be converted to hours, minutes, and seconds. For example, TIME(0,0,2000) = TIME(0,33,22) = .023148 or 12:33:20 AM

Remark

Time values are a portion of a date value and represented by a decimal number (for example, 12:00 PM is represented as 0.5 because it is half of a day).

Examples

Hour

Minute

Second

Formula

Description (Result)

12

0

0

=TIME([Hour],[Minute],[Second])

Decimal representation of the time of day, for the time (0.5)

16

48

10

=TIME([Hour],[Minute],[Second])

Decimal representation of the time of day, for the time (0.700115741)

Precisa de mais ajuda?

Quer mais opções

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.