Mattpd 0 Light Poster

Sorry, solved my own problem.

#include <time.h>

 time_t current = time(NULL);
  char date[11];

  strftime (date, 11, "%m/%d/%Y", localtime (&current));
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.