title: Converting unix timestamp to YYYY-MM-DD HH:MM:SS
body: <p>I have a Unix timestamp that I need to get the individual year, month, day, hour, minute and second values from. I never was very good in math class so I was wondering if you guys could help me out a little :)</p>
  
  <p>I have to do everything myself (no time.h functions). The language is C.</p>