Welcome to EMC Consulting Blogs Sign in | Join | Help

Merrick Chaffer's Blog

How to detect the build date from the assembly version information

This could help on client sites where they've not changed the out of the box default assemblyinfo settings, and you want to know when a build was made of a particular assembly

http://www.geekproject.com/showtopic.aspx?ID=21

When you specify that you want to have Buildnumber and revision automatically generated then the compiler (C#) will generate Buildnumber as the number of days from the 1st of January 2000. The Revision is generated as the number of seconds from midnight divided by two, but it will NOT take daylight savings time into account.

Remember the setting in AssemblyInfo.cs is...

<Major><Minor><Build><Revision>

Published 18 February 2010 09:46 by merrick.chaffer
Filed under: , ,

Comments

No Comments
Anonymous comments are disabled

This Blog

Syndication

News

Powered by Community Server (Personal Edition), by Telligent Systems