**Why is it that when i use ctime to capture the time I am getting this error:
time_t
now = time(0);// convert now to string form
char* dt = ctime(&now);
cout << "The local date and time is: " << dt << endl;
error C4996: 'ctime': This function or variable may be unsafe. Consider using ctime_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
**