title: Error "ValueError: can't format dates this early" on one PC, works on other
body: <p>I have a Python script that works perfectly fine on my development PC. Both are Windows&nbsp;7 with the same Python version (2.7.9). However on the target machine I get a</p>
  
  <blockquote>
    <p>ValueError: can't format dates this early</p>
  </blockquote>
  
  <p><a href="http://sourceforge.net/p/pywin32/mailman/pywin32-checkins/thread/From_mhammond@users.sourceforge.net_Sun_Feb_27_05:35:49_2011/" rel="nofollow noreferrer">The error</a> seems to come from pywin32 module.</p>
  
  <p>The code uses a third-party library invoked by pywin32:</p>
  
  <pre><code>raw = win32com.client.Dispatch("MyLib.MyClass")
  </code></pre>
  
  <p>and then fails later on:</p>
  
  <pre><code>acq_time = raw.GetCreationDate()
  </code></pre>
  
  <p>Now I'm lost why this is working on my PC and not on the target machine. Both have a "corporate install" of Windows&nbsp;7, for example, the same Regional and date-time settings.</p>
  
  <p>What is the issue? How might I resolve it?</p>
  
  <p>EDIT:</p>
  
  <p>See comments. The cause is probably which <a href="http://en.wikipedia.org/wiki/C%2B%2B" rel="nofollow noreferrer">C++</a> runtime is used. I'm still investigating. I now suspect that it matters which runtimes are present at install time of pywin32. Why? Because DependenyWalker on my development PC says that pywin depends on <code>MSVCR90.DLL</code> in my Lotus Notes installation. This tells me it sure isn't "hard" linked.</p>
  
  <p><strong>Update 30.06.2015:</strong></p>
  
  <p>I was all wrong...The issue now also happens on my PC.</p>
  
  <p>Some further info. The script reads data files and inserts the read
  meta-data into a database. Only older files seemed to be affected by the
  bug, not new ones (I now think this is assumption is wrong). So the idea was to to the initial load on my Dev PC and then hope the issue will never occur again with new files.</p>
  
  <p>In case of the PC were the script will run, the files it reads are on a
  Windows Shared drive (mapped network drive). I don't have access to that
  drive so I just copied the files into my PC. Now for doing the initial
  load I requested access to said network drive and BOOM. It also does not
  work from my Dev. machine when reading from the shared drive.</p>
  
  <p>The issue does not always happen with the same file. I now think it has nothing to do with a specific file. I also tried it on a 64-bit PC with 64-bit python. There it took longer till the error occurred. In fact a file was successfully read which failed on my PC. I now think it is some kind of memory issue? I believe that it then always fails on the date line because all other lines just return null or an empty string which causes no problem and is entirely possible such a value can be null. But for the date it is a problem and it should not be null and then the error is thrown.</p>
  
  <p>EDIT of Update:</p>
  
  <p>On my PC it always fails on the same file. Loading that file alone works perfectly fine. I now think it's some kind of counter/number overflow that after reading n files, the issue occurs. It has to do with the amount of files I load per run of the script and not the file itself. Files that fail work when loading them individually.</p>