title: getting date and time in c
body: <p>I need to get the date as one string and the current time as another in C. I've had a look at time.h and see it allows me to get the whole thing. Do I then have to use some string methods? I notice that C doesn't have a substring method? Strcpy seems like it might work but I need a char * not an array.</p>
  
  <p>Any advice?</p>
  
  <p>Thanks</p>