Does anyone know how I can store the Built date like apache does:
I'm using RH Linux with gcc !# ./httpd -v
Server version: Apache/2.0.53
Server built: Apr 19 2005 16:27:58
Thanks in advance,
Does anyone know how I can store the Built date like apache does:
I'm using RH Linux with gcc !# ./httpd -v
Server version: Apache/2.0.53
Server built: Apr 19 2005 16:27:58
Thanks in advance,
There are defined macros which store this information. Here's an example of how to use them:
Code:printf("The date is of this build is: %s, the time is %s.", __DATE__, __TIME__ );
Quzah.
Hope is the first step on the road to disappointment.
Hey Quzah, thanks alot for the help !