title: How to calculate epoch day?
body: <p>Is calculating the epoch day as simple as taking the epoch seconds and dividing by 86400?  Or are there some special calculations that need to be done to take account of daylight savings or leap year or some other factor?</p>
  
  <p>Update: by "epoch day" I mean number of days since the epoch.</p>