title: most efficient way to get current time/date/day in C
body: <p>What is the most efficient way of getting current time/date/day/year in C language? As I have to execute this many times, I need a real efficient way. 
  I am on freeBSD.</p>
  
  <p>thanks in advance.</p>