SECONDS()

From Lianjapedia
Revision as of 11:38, 4 February 2013 by Yvonne.milne (Talk | contribs)

Jump to: navigation, search

Purpose

Function to extract seconds from a time string

Syntax

SECONDS([<time-string>])

See Also

AMPM(), CTOT(), DATE(), DATETIME(), ELAPTIME(), HOUR(), HOURS(), MINUTE(), MINUTES(), SEC(), SECS(), SET SECONDS, TIME(), TIMESTAMP(), TSTRING(), TTOC(), TTOD(), VALIDTIME()

Description

The SECONDS() function returns the seconds from the current time as a number. The SECONDS() function will also return the seconds from an optionally specified <time-string>.

Example

? seconds("10:33:21")
        21