title: Getting System Date in MSVC 6.0
body: <p>I am trying to get system date in a C program on a MSVC++ 6.0 compiler. I am using a system call:</p>
  
  <p><strong>system("date /T")</strong>  (output is e.g. 13-Oct-08 which is date on my system in the format i have set)  </p>
  
  <p>but this prints the date to the i/o console. </p>
  
  <p>How do i make take this date as returned by above system call and store it as a string value to a string defined in my code?
  Or </p>
  
  <p>Is there any other API i can use to get the date in above mentioned format (13-Oct-08, or 13-10-08) ?</p>
  
  <p>-AD</p>