All of my .NET assemblies uses the 1.0.* format for their version numbers. Supposedly the * gets replaced with the current date and time, translated into a number. What is the formula to translate it back into a date and time?
All of my .NET assemblies uses the 1.0.* format for their version numbers. Supposedly
Share
The
AssemblyVersionAttributedocumentation states that:The reference date for the build number isn’t specified. In practice, I’ve found this to be 1 January 2000.
The date can therefore be reconstructed as follows:
Since the reference date isn’t documented, it can’t be guaranteed to always remain unchanged.