locked
How to display build date? RRS feed

  • Question

  • Hi.

    How can I display my apps build date?

    I know that in a desktop environment, it's possible to calculate the buildate by using build and revision from the application version, but this is not possible in Windows Store, as revision here means, how many packages there have been built.

    Thanks in advance.

    //Nicky

    Wednesday, August 28, 2013 1:24 PM

Answers

  • There isn't a built in equivalent to C++'s __DATE__ or __TIME__ macros, but you should be able to create something similar by creating a pre- build step which generates a file with the current date and time.

    I don't believe the application version can be depended on for the build time in desktop apps, although current implementations may generally map that way.

    --Rob

    • Marked as answer by Nicky Mogensen Thursday, August 29, 2013 6:26 AM
    Wednesday, August 28, 2013 10:52 PM
    Moderator