Java Timestamp - Adding five minutes
<p>looking for some help with a bit of Java code i'm working on, i have the following code which prints out the date and time:</p>

<pre><code>  Date dNow = new Date( ); // Instantiate a Date object
  SimpleDateFormat ft = new SimpleDateFormat ("MMM d, yyyy k:mm:ss");  // Time at server
</code></pre>

<p>Result: Mar 15, 2013 10:19:48</p>

<p>I'm creating a javascript counter to work from this number and countdown from 5 minutes.  So i need to add 5 minues to the current date time in Java.</p>

<p>So, if the current date time is: Mar 15, 2013 10:19:48</p>

<p>I need to add 5 minutes to Java so that it prints out: Mar 15, 2013 10:24:48</p>

<p>Any ideas?</p>

<p>thanks</p>
