title: Django : date value out of range
body: <p>Here its my django views.py line </p>
  
  <pre><code>currentTime = datetime.datetime.now()
  freezeSlotBeforeTime="58"
  cuerrentTimeToFreeze = currentTime - datetime.timedelta(minutes=int(freezeSlotBeforeTime))
  </code></pre>
  
  <p>on above line I got an error "date value out of range".</p>
  
  <p>error:</p>
  
  <pre><code>OverflowError at /manager/summary/
  
  date value out of range
  </code></pre>
  
  <p>Its work fine on ipython. but not in django views </p>
  
  <pre><code>currentTime = datetime.datetime.now()
  In [11]: freezeSlotBeforeTime="58"
  In [12]: cuerrentTimeToFreeze = currentTime - datetime.timedelta(minutes=int(freezeSlotBeforeTime))
  
  In [13]: currentTime - datetime.timedelta(minutes=int(freezeSlotBeforeTime))
  Out[13]: datetime.datetime(2015, 3, 13, 16, 24, 45, 711728)
  </code></pre>
  
  <p>How can I solve this error......</p>