Wednesday, January 8, 2020

Second function

Returns the seconds of a time value. The second is given as an integer in the range 0 (zero) to 59.

Syntax

SECOND(serial_number)

Serial_number     is the time that contains the seconds you want to find. Times may be entered as text strings within quotation marks (for example, "6:45 PM"), as decimal numbers (for example, 0.78125, which represents 6:45 PM), or as results of other formulas or functions (for example, TIMEVALUE("6:45 PM")).

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

Formula

Description (Result)

=SECOND("4:48:18 PM")

Seconds in the time (18)

=SECOND("4:48 PM")

Seconds in the time (0)

No comments:

Post a Comment