title: What is the difference between clock_t, time_t and struct tm?
body: <p>What is the difference between clock_t, time_t and struct tm?</p>
  
  <p><strong>struct tm</strong> looks like this:</p>
  
  <pre><code>struct tm{
  int tm_sec;
  int tm_min;
  int tm_hour;
  int tm_mday;
  int tm_mon;
  int tm_year;
  int tm_wday;
  int tm_yday;
  int tm_isdst;
  };
  </code></pre>
  
  <p>But how does <strong>clock_t</strong> and <strong>time_t</strong> look like?</p>