Measuring time in between bars. How to?

 

How would i be able to measure time in between past 2 bars, [1] and [2], in case of a renko or range bars chart?

Where should i look for answers ? 

 

Thank You 

 
time in seconds between bars 1 & 2 = Time[1] - Time[2]
 
investguy: How would i be able to measure time in between past 2 bars, [1] and [2], in case of a renko or range bars chart?
If your offline-chart generator creates accurate timestamps (some do not,) The time of bar 2 is Time[2]-Time[1]. The time between the past 2 bars is Time[2]-Time[0]
Reason: