How to add a minute to the time in Java?

Viewed 33

How to add a minute to timeNow which is the local time converted to PST time?

DateFormat pstFormat = new SimpleDateFormat("HH:mm");
TimeZone pstTime = TimeZone.getTimeZone("PST");
pstFormat.setTimeZone(pstTime);
String timeNow = pstFormat.format(date);
0 Answers
Related