title: Using Lua to format 0 seconds as 00:00:00
body: <p>I'm trying to format a duration (in seconds) as a time and I'm getting results indicating that I'm supposed to account for an epoch somewhere. I expected <code>os.date("%X", 0)</code> to produce "00:00:00" but it is returning "20:00:00" as well as a date value of "12/31/69" (I don't need a calendar date though).</p>
  
  <p>Is there a standard way of getting a time duration string that causes 0 seconds to produce a clock representing a total of zero seconds? I can't seem to find an example anywhere of what I'm trying to do.</p>
  
  <p>Thanks</p>