title: How to compare variable amount of days using UNIX timestamp (stored as int)
body: <p>I need to pull a variable amount of days of data from a MySQL database that stores the date as a UNIX timestamp in an int column.</p>
  
  <p>For example, if I need the last 5 days of data, what would my query be?<br>
  (All queries would start from current date and would go back x amount of days).</p>