title: How to append L to long in Java
body: <p>I have this long 1383903835525 but need to append L for Java to recognize it as a long otherwise I get the 'int is too long' error<br />
  <br />
  So the en result will be <strong>1383903835525L</strong>
  <hr />
  Im trying to date.getDate(1383903835525); <br />
  <br /></p>
  
  <pre><code>public String getDate(long milliseconds) {
          setDateFormat();
          return getResult(milliseconds);
      }
  </code></pre>
  
  <p>this works</p>
  
  <blockquote>
    <p>date.getDate(1383903835525L);</p>
  </blockquote>
  
  <p>but the server is sending me back this in the response 1383903835525<br /><br />
  Should the server rather send back 1383903835525L ?</p>