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 [ 14.42 KiB | Viewed 16386 times ] Attachment:
|
Page 1 of 1 | All times are UTC + 8 hours [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |