• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Date compiled?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Date compiled?


  • Subject: Re: Date compiled?
  • From: Roland King <email@hidden>
  • Date: Tue, 27 May 2008 22:17:42 +0800

can you build it into a string at compile time using one of the defined macros like __DATE__. I don't know if you can use anything clever like that in a plist file.

__DATE__
This macro expands to a string constant that describes the date on which the preprocessor is being run. The string constant contains eleven characters and looks like "Feb 12 1996". If the day of the month is less than 10, it is padded with a space on the left.



On May 27, 2008, at 9:52 PM, Jeff LaMarche wrote:

Is there any easy way to grab at runtime the date that my application was last built? I've got a request by a client to show this in the about box. It seems like I should be able to just get the modified date of the application bundle, but I wanted to see if there was a "correct" way of doing this.

Thanks,
Jeff
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Date compiled? (From: Jeff LaMarche <email@hidden>)

  • Prev by Date: Re: File's Owner
  • Next by Date: Re: Date compiled?
  • Previous by thread: Date compiled?
  • Next by thread: Re: Date compiled?
  • Index(es):
    • Date
    • Thread