Second: Difference between revisions

From NSB App Studio
Jump to navigation Jump to search
(Created page with "SECOND(''time'') '''Description''' SECOND returns a whole number ranging from 0 to 59 that represents the second of the minute, of a given time. The required parameter, time...")
 
No edit summary
Line 3: Line 3:
'''Description'''
'''Description'''


SECOND returns a whole number ranging from 0 to 59 that represents the second of the minute, of a given time. The required parameter, time, can be any numeric or string expression, or any expression that represents a time.
SECOND returns a whole number ranging from 0 to 59 that represents the second of the minute, of a given time. The required parameter, ''time'', can be any numeric or string expression, or any expression that represents a time.


'''Example'''
'''Example'''

Revision as of 19:17, 8 July 2012

SECOND(time)

Description

SECOND returns a whole number ranging from 0 to 59 that represents the second of the minute, of a given time. The required parameter, time, can be any numeric or string expression, or any expression that represents a time.

Example

REM SECOND Example
'SECOND returns secondofminuteofgiventime
PRINT "The SECOND of " & NOW & " is " _
  & SECOND(NOW)

Output

The SECOND of 8/18/1998 10:52:44 PM is 44
(sample date output is system dependant)

Related Items

DATE, DAY, HOUR, MINUTE, MONTH, NOW, TIME, YEAR