AssemblyVersion(“1.0.*”) one hour behind on the Revision value?
-
09-02-2021 - |
Question
I'm using the following syntax to place into my assembly version's Revision value half the number of seconds in the day which have passed at the moment of compilation:
[assembly: AssemblyVersion("1.0.*")]
Windows Explorer shows the following two properties for the resulting assembly (XYZ is my doing and masks date information, which is irrelevant to my question):
File version: 1.0.XYZ.19527
Date modified: XYZ 11:50 AM
19527 times two comes to 10:50 AM -- why the one hour difference?
Solution
The revision number is not taking Daylight Saving Time offset into account.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow