Lipi Reference Lipi

Functions

second()

Second (in exchange timezone) for provided UNIX time.

Syntax

                second(series int time, series string timezone) → series int
              

Arguments

time required series int
timezone required series string

Return Type

series int

Example


          indicator("Second Function Example", overlay=true)
// Get current bar second
currentSecond = second(time)
// Plot second in Data Window
plot(currentSecond, title="Current Second")