title: Getting previous day's date in Lua
body: <p>Can anyone kindly enlighten me on how to get previous day's date in 'YYYY-MM-DD' format using Lua?</p>
  
  <p>I.E., a snippet that will return the date of the previous day from the day during which it is run.</p>