Difference between revisions of "Manuals/calci/SECOND"

From ZCubes Wiki
Jump to navigation Jump to search
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
=SECOND(sn)=
+
<sub><div style="font-size:30px">'''SECOND (Value)'''</div><br/>
 
+
*where <math>Value</math> is the time or serial number of time to find the seconds value.
*where <math>sn</math> is the time or serial number of time to find the seconds value.
+
**SECOND(), converts a serial number to a second.
 
 
SECOND() returns the seconds value from the input time.
 
  
 
== Description ==
 
== Description ==
  
SECOND(sn)
+
SECOND(Value)
  
 
For Example,
 
For Example,
Line 13: Line 11:
 
SECOND("3:45:20 AM") ''returns 20''
 
SECOND("3:45:20 AM") ''returns 20''
  
*Argument <math>sn</math> can be time in the form of text or as a result of any other functions.
+
*Argument <math>Value</math> can be time in the form of text or as a result of any other functions.
*Argument <math>sn</math> should be enclosed in quotes e.g. "11:00:00 AM".
+
*Argument <math>Value</math> should be enclosed in quotes e.g. "11:00:00 AM".
*If <math>sn</math> is invalid, Calci returns an #ERROR message.
+
*If <math>Value</math> is invalid, Calci returns an #ERROR message.
 
*The output seconds value is the value in integers, ranging from '0' to '59'.
 
*The output seconds value is the value in integers, ranging from '0' to '59'.
  
Line 56: Line 54:
  
 
*[http://en.wikipedia.org/wiki/Second Second]
 
*[http://en.wikipedia.org/wiki/Second Second]
 +
 +
 +
 +
 +
*[[Z_API_Functions | List of Main Z Functions]]
 +
 +
*[[ Z3 |  Z3 home ]]

Latest revision as of 14:15, 22 August 2018

SECOND (Value)

  • where is the time or serial number of time to find the seconds value.
    • SECOND(), converts a serial number to a second.

Description

SECOND(Value)

For Example,

SECOND("3:45:20 AM") returns 20

  • Argument can be time in the form of text or as a result of any other functions.
  • Argument should be enclosed in quotes e.g. "11:00:00 AM".
  • If is invalid, Calci returns an #ERROR message.
  • The output seconds value is the value in integers, ranging from '0' to '59'.

Examples

Function Output
SECOND("12:00:00 AM") 0
SECOND("5:59 PM") 0
SECOND("2:30:44") 44
SECOND("10:33:59 PM") 59

Related Videos

SECOND

See Also

References