title: Converting milliseconds to Timestamp in Java
body: <p>I am using System.currentTimeMillis() and adding the value of a day/week/month based on user input. How can I convert this to java.sql.Timestamp so I can save it in mysql? Thanks.</p>