title: Unix timestamp and mysql date: birthdate
body: <p>I have a really basic question concerning unix timestamp and mysql date.
  I'm trying to build a small website where users can register and fill in their birthdate.</p>
  
  <p>Problem is that unix starts with Jan 01 1970. Now if i calculate age for users, form dates like date('m.d.Y', $unix_from_db) and so on it will fail with users older that 40 years, right?</p>
  
  <p>So what would be the rigth way for doing this. Sorry, for basic question like this, but I'm inexperienced with php and mysql.</p>
  
  <p>//Edit:
  Thank you all. I got confused, because, date('m.d.y',mktime(0,0,0,1,1,1890)) and date('m.d.y',-2000) returned 01.01.70 - next time I'll study manual more carefully. I was able to fix my site, thanks again. Too bad I can accept only one answer, they were all equally good.</p>