title: What is the formula for calculating a timestamp?
body: <p>Just a random question but does anyone know the formula for how a timestamp is calculated? I am guessing it has to consider each month and how many days, leap years, etc.</p>
  
  <p>Thanks</p>