title: Timestamp format not showing different values
body: <p>I am trying to print out a list of dates/times from a .dat file with the code snippet below, but it always has the same output and I don't know why.</p>
  
  <pre><code>SimpleDateFormat TimeStampFormat = new SimpleDateFormat("yyyy:dd:hh:mm:ss:");
  long measurement = 0;       
  
  
  for (i=0; i&lt;MeasurementLength; i++ ){
      databyte = ReadFilterInputPort();
      measurement = measurement | (databyte &amp; 0xFF);  
     if (i != MeasurementLength-1)    
          measurement = measurement &lt;&lt; 8;             
  } // for
  
  TimeStampA.setTimeInMillis(measurementA);   
  System.out.println(measurementA);
  System.out.printf("%-22s\n",TimeStampFormat.format(TimeStampA.getTime()));
  </code></pre>
  
  <p>For example, the output of a few lines is:</p>
  
  <p>(input)
  1300828035071</p>
  
  <p>(output)
  2011:22:05:07:15      </p>
  
  <p>(input)    1300828035073</p>
  
  <p>(output) 2011:22:05:07:15 </p>
  
  <p>Am I doing something wrong or would this be the correct output for the given input?</p>