[En-Nut-Discussion] Build Date and Time
Mark van der Waal van Dij
M.v.d.Waal_v.Dijk at krohne-altometer.nl
Wed Nov 29 15:15:03 CET 2006
Hey,
Sorry if this mail comes trough twice, I've registered at Nabble to avoid
the big disclaimer our company places after every outgoing e-mail ;)
I found out printing date and time can be achieved by using these macros:
printf("Build Date: %s, Time: %s", __DATE__,__TIME__);
This prints out at the terminal:
Build Date: Nov 29 2006, Time: 15:00:16
(date it was compiled)
I don't know if this macro is dependent on compiler (using GNU)
Greetings,
Mark
--
View this message in context: http://www.nabble.com/Build-Date-and-Time-tf2725122.html#a7600026
Sent from the MicroControllers - Ethernut mailing list archive at Nabble.com.
More information about the En-Nut-Discussion
mailing list