title: how to convert a date string to tm_wday in tm structure
body: <p>I have a date string format say like "2010-03-01" and I want to get the "tm_wday" equivalent of it say like Monday, Tuesday ...</p>
  
  <p>Could someone give me a hint on how to achieve this in c?</p>