Difference between revisions of "Documentation/How Tos/Calc: SECOND function"
From Apache OpenOffice Wiki
< Documentation | How Tos
m (→Example:) |
|||
Line 11: | Line 11: | ||
=== Example: === | === Example: === | ||
− | <tt>'''SECOND("2008 | + | <tt>'''SECOND("2008-01-06 21:30:15")'''</tt> |
: returns <tt>'''15'''</tt>. | : returns <tt>'''15'''</tt>. | ||
Revision as of 13:07, 18 January 2008
SECOND
Returns the seconds of a given time.
Syntax:
SECOND(time)
- returns the seconds of time as a number, 0 - 59.
- time may be text or a date-time serial number.
Example:
SECOND("2008-01-06 21:30:15")
- returns 15.
SECOND(A1)
- where cell A1 contains the time 9:25:10 as a date-time serial number, returns 10.