문제

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?

도움이 되었습니까?

해결책

The revision number is not taking Daylight Saving Time offset into account.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top