Difference between revisions of "SEC()"
From Lianjapedia
Yvonne.milne (Talk | contribs) m (1 revision) |
Yvonne.milne (Talk | contribs) |
||
Line 1: | Line 1: | ||
==Purpose== | ==Purpose== | ||
Function to return the numeric seconds from a specified datetime | Function to return the numeric seconds from a specified datetime | ||
− | |||
==Syntax== | ==Syntax== | ||
SEC(<expT>) | SEC(<expT>) | ||
− | |||
==See Also== | ==See Also== | ||
− | [[AMPM()]], [[CTOT()]], [[DATE()]], [[DATETIME()]], [[ELAPTIME()]], [[HOUR()]], [[HOURS()]], [[MINUTE()]], [[MINUTES()]], [[SECONDS()]], [[SECS() | + | [[AMPM()]], [[CTOT()]], [[DATE()]], [[DATETIME()]], [[ELAPTIME()]], [[HOUR()]], [[HOURS()]], [[MINUTE()]], [[MINUTES()]], [[SECONDS()]], [[SECS()]], [[SET SECONDS]], [[TIME()]], [[TIMESTAMP()]], [[TSTRING()]], [[TTOC()]], [[TTOD()]], [[VALIDTIME()]] |
− | + | ||
==Description== | ==Description== | ||
The SEC() function returns the seconds from the specified datetime expression <expT> as a numeric value. | The SEC() function returns the seconds from the specified datetime expression <expT> as a numeric value. | ||
− | |||
==Example== | ==Example== | ||
Line 24: | Line 20: | ||
</code> | </code> | ||
− | |||
− | |||
− | |||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
[[Category:Date and Time Data]] | [[Category:Date and Time Data]] | ||
[[Category:Date and Time Data Functions]] | [[Category:Date and Time Data Functions]] |
Revision as of 11:16, 9 February 2012
Contents
Purpose
Function to return the numeric seconds from a specified datetime
Syntax
SEC(<expT>)
See Also
AMPM(), CTOT(), DATE(), DATETIME(), ELAPTIME(), HOUR(), HOURS(), MINUTE(), MINUTES(), SECONDS(), SECS(), SET SECONDS, TIME(), TIMESTAMP(), TSTRING(), TTOC(), TTOD(), VALIDTIME()
Description
The SEC() function returns the seconds from the specified datetime expression <expT> as a numeric value.
Example
? sec({10/10/2004 10:15:43 AM}) 43 m_Sec = sec(datetime()) ? type("m_Sec") N