title: Set time in linux from c program
body: <p>I want to set/change time of my system from the c program. I searched a lot on the internet but have not found any satisfactory result. I had a llok on settimeofday but it requires seconds and microseconds passed since 1 January 1970, 00:00:00 UTC.</p>
  
  <p>but i want something like i can give explicitly Date, Year, Month, Hours, Minutes and seconds and UTC time shall be set.</p>
  
  <p>Is there any c library function or any other mechanism available for that? </p>