Andes Workshop
http://forum.andestech.com/

Adding Last Build Date & Time in the main code
http://forum.andestech.com/viewtopic.php?f=25&t=941
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);

Example:
Attachment:
2015_10_05.png
2015_10_05.png [ 14.42 KiB | Viewed 15355 times ]


Attachment:
build_date.zip [41.23 KiB]
Downloaded 1102 times

Page 1 of 1 All times are UTC + 8 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/