How to get the time from 1970(where time in PC starts) in sconds?
How to get the time from 1970(where time in PC starts) in sconds?
Did you even look at your library documentation?
Really...Code:#include <time.h> int x = time(NULL);
"Asking dumb questions on forums" is not an essential programming skill...
Knowing how to find things in compiler and library documentation is.