My guess was that the documentation mend "divided by two drop the
remainder".  Multiplying by two seems to get the time very close about
an hour off.

David

----- Original Message -----
From: "Dean Cleaver" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 24, 2002 5:53 PM
Subject: Re: [DOTNET] Fw: Why is build time wrong?


Am I missing something completely, or would the "seconds since midnight
local time, modulo 2" not always be 0 or 1? The remainder when dividing
something by 2 can only ever be 1 or 0. This doesn't make any sense to
me at all...

Dino

-----Original Message-----
From: dotnet discussion [mailto:[EMAIL PROTECTED]] On Behalf Of
Dave Levy
Sent: Saturday, 25 May 2002 08:32
To: [EMAIL PROTECTED]
Subject: Re: [DOTNET] Fw: Why is build time wrong?


The modulus operator returns only the remainder of (seconds since
midnight) / 2.  I am not aware of any way to reverse the % operator
because:

6 % 1 = 0
6 % 2 = 0
6 % 3 = 0
6 % 6 = 0





David Ferguson <[EMAIL PROTECTED]>
Sent by: dotnet discussion <[EMAIL PROTECTED]> 05/24/2002 02:31
PM Please respond to dotnet discussion


        To:     [EMAIL PROTECTED]
        cc:
        Subject:        [DOTNET] Fw: Why is build time wrong?


According to:

http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemReflection
AssemblyVersionAttributeClassctorTopic.asp

     build = days since January 1, 2000 local time
  revision = seconds since midnight local time, modulo 2

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to