title: day month and year time stamps from gps wrong
body: <p>I'm trying to get the time stamp from the GPS. </p>
  
  <p>I'm using the method onLocationChanged and the Date class like this:</p>
  
  <pre><code>    public void onLocationChanged(Location location) {
          Date date = new Date(location.getTime());
          Log.d("TIME","day "+Calendar.get);
          Log.d("TIME","month "+date.getMonth());
          Log.d("TIME","year "+date.getYear());
          Log.d("TIME","hour "+date.getHours());
          Log.d("TIME","minutes "+date.getMinutes());
          Log.d("TIME","seconds "+date.getSeconds());
      }
  </code></pre>
  
  <p>now I know that these methods are deprecated but it's still suppose to give me accurate results right?</p>
  
  <p>the min,sec and hour are fine but :</p>
  
  <p>The day value is 1.</p>
  
  <p>The month value is 1.</p>
  
  <p>The year value is 115 . </p>
  
  <p>How can I know if the problem is with the time I get from location or is it the Date class that's messing things up?</p>