Difference between revisions of "SECOND - Return the seconds (Reports & Settings Report Generator function)"

From Catalyst
Jump to: navigation, search
(Updated from revision control)
 
Line 22: Line 22:
 
The seconds of the time given.
 
The seconds of the time given.
  
[[Category:Reports & Parameters Report Generator functions]]
+
[[Category:Reports & Settings Report Generator functions]]

Latest revision as of 13:05, 22 September 2016

Syntax

$SECOND{time, unit}

Description

Return the seconds from a time.

Parameters

time
A numeric parameter that can be omitted.
The time in numeric format, stored in seconds since midnight. If omitted, the current machine time is used.
unit
A text parameter that can be omitted (it defaults to "S").
Is the given time in Minutes or Seconds?
M
Minutes
S
Seconds

Returns

A numeric value. The seconds of the time given.