|Adding Last Build Date & Time in the main code
|Page 1 of 1|
|Author:||jonathan [ Wed Oct 07, 2015 12:18 pm ]|
|Post subject:||Adding Last Build Date & Time in the main code|
If you need or want the date and/or time the last time your app was built then there are two handy macros you can use. Consider the following example:
char *date = __DATE__; // e.g. 'Dec 15 2009'
char *time = __TIME__; // e.g. '15:25:56'
NSLog(@"Build date: %s", date);
NSLog(@"Build time: %s", time);
2015_10_05.png [ 14.42 KiB | Viewed 10329 times ]
build_date.zip [41.23 KiB]
Downloaded 474 times
|Page 1 of 1||All times are UTC + 8 hours [ DST ]|
|Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group