Refer to http://stackoverflow.com/questions/471248/what-is-ultimately-a-time-t-typedef-to. Read Quassnoi's answer.