title: Convert Hex to Decimal and Decimal to TimeStamp in JAVA
body: <p>I have facing Problem in Parsing 16 digit hex string to decimal integer value.</p>
  
  <p>I have tried following code for converting hex to decimal:</p>
  
  <pre><code>    String HexString= "0000113fc208dff"; 
      int dec= Long.parseLong(HexString);
  </code></pre>
  
  <p>But its throwing <code>NumberFormatException: Invalid int ...</code></p>
  
  <p>Now How do i Convert to Decimal/Binary  and Further Convert  Decimal/Binary to Time Stamp ?? </p>
  
  <p>Any help would be appreciated.</p>