title: get present year value to string
body: <p>I need to get the present year value in string so I did:</p>
  
  <pre><code>Calendar now = Calendar.getInstance();
  DateFormat date = new SimpleDateFormat("yyyy");
  String year = date.format(now);
  </code></pre>
  
  <p>It works on ubuntu but it's not working on windows 7. </p>
  
  <p>Do you know why?
  Is there a safer way to do that?</p>
  
  <p>Thanks</p>