Functions
second()
The second of a time you supply.
Syntax
second(series int time, series string timezone) → series int
Arguments
time required series int timezone series string Return Type
series int Example
//@lipi=2
indicator("Second Function Example", overlay=true)
// Get current bar second
currentSecond = second(time)
// Plot second in Data Window
plot(currentSecond, title="Current Second")