What is the "maximum" future date I can set Windows 7 to?

Page 1 of 3 123 LastLast

  1. Posts : 52
    Windows 7 Home Premium 64bit
       #1

    What is the "maximum" future date I can set Windows 7 to?


    Will current 32-bit versions of Windows 7 encounter the year 2038 problem?

    What about 64-bit? What is the "maximum" future date I can currently set my computer to?
      My Computer


  2. Posts : 3,724
    Windows 10x64 Build 1709
       #2

    Not quite sure why you're worried about this, that IS a long time from now after all . But heres what Microsoft says about it :FIX: GETDATE() Returns Wrong Value When System Time Year >= 2038
      My Computer


  3. Posts : 1,454
    Microsoft Windows 8.1 64-bit Professional
       #3

    In short, Yes and yes; both 32 bit and 64 bit Windows will be affected (the current version, that is).

    You can test it yourself with the following Perl script:
    Code:
    #!/usr/bin/perl
    
    # Use POSIX (Portable Operating System Interface) use POSIX; 
    
    # Set the Time Zone to GMT (Greenwich Mean Time) for
    
    date calculations.
    
    $ENV{'TZ'} = "GMT";
    
    # Count up in seconds of Epoch time just before and 
    
    after the critical event.
    
    for ($clock = 2147483641; $clock < 2147483651;
    
    $clock++)
    
    {
    
    print ctime($clock);
    
    }
    For the technical explanation:
    Time_t is a data type used by programs like C and C++ to represent dates internally. And 32 bit Windows stores a signed integer data type, such as time_t, in 32 bits. The first of these bits is used for the positive/negative sign of the integer, while the remaining 31 bits are used to store the number itself. The highest number these 31 data bits can store works out to exactly 2.147.483.647. A time_t value of this exact number represents January 19, 2038, at 7 seconds past 3:14 AM Greenwich Mean Time.

    And then, basically, every single 32 bit C and C++ program will reach it's limit. So naturally 32 bit Windows will be affected. And since a lot of the programs on 64 bit Windows are based on 32 bit Windows, it's only logical to assume that 64 bit Windows will also be affected.

    What'll happen is that within a second every single device on earth which is affected by this will shift from January 19th 2038, to December 13th 1901.


    Nommy
    Last edited by nommy the first; 13 Mar 2013 at 11:26. Reason: Spelling errors and such
      My Computer


  4. Posts : 24,479
    Windows 7 Ultimate X64 SP1
       #4

    This begs the question, why worry about it? w7 will be but a happy memory in 2038.
      My Computer


  5. Posts : 6,458
    x64 (6.3.9600) Win8.1 Pro & soon dual boot x64 (6.1.7601) Win7_SP1 HomePrem
       #5

    I don't worry about such things - I'll be dust by then.

    The programmers will move the date AGAIN. The issue really only concerns two-digit year format. They have to select a range (I think it used to be 29)
      My Computer


  6. Posts : 5,440
    Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
       #6

    Britton30 said:
    This begs the question, why worry about it? w7 will be but a happy memory in 2038.
    As I hope I will be too! What a thing to worry about, it quite beggars belief!

    BTW Luckyrick, I see they have moved Cornwall without telling me! Now that really is something to worry about or perhaps your time zone is wrong. I do hope that is the case cos I can't understand a dang word them GI's say!
      My Computer


  7. Posts : 6
    Win 7
       #7

    Britton30 said:
    This begs the question, why worry about it? w7 will be but a happy memory in 2038.
    The Mayans didn't worry about it and look at the ruckus they caused.
      My Computer


  8. Posts : 3,300
    Win7 Home Premium 64x
       #8

    Britton30 said:
    This begs the question, why worry about it? w7 will be but a happy memory in 2038.
    We will be running MacWindux 4 by that time.

    Also, now I am wondering how the Tardis handles date formats....
      My Computer


  9. Posts : 1,397
    Win 10 Pro 64
       #9

    I will be long gone by 2038 or way to old to care.:)
      My Computer


  10. Posts : 5,440
    Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
       #10

    Gary said:
    I will be long gone by 2038 or way to old to care.:)
    I'm too old to care now:)
      My Computer


 
Page 1 of 3 123 LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 13:21.
Find Us