I would like to add to my console application the information (e.g. to the “initial screen” or to the “usage screen”) about when the program was last released (compiled).
Can I add this to my project?
Thanks!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Try thisor down for a better method!To use it, for example
Should output in a format like
Tuesday, 30 August 2011 09:44:07Edit: apparently that dependent on the file system but I found this page
Here is it converted to C#
Credit goes to Jeff Atwood
So you should be able to use it like this