Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Urgent, Pls Help! DateTime Operation

Status
Not open for further replies.

chuntok

Programmer
Oct 21, 2003
3
MY
How do i get the current date and time?
And how do i add 1 minute to the date and time that I get?
 
here you go.

Code:
Calendar now = Calendar.getInstance();
now.add(Calendar.MINUTE, 1);
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top