Shared Tutorials

Tutorials Shared by the Internet Community

Advertisements

  Top Tutorials     New Tutorials     Submit     Login     Register  

Tutorial Basic Detail

How to get current date and time in java

Java program to fetch the current date and current time from the system
http://beginnersbook.com/2013/05/current-date-time-in-java/

Description:

In this tutorial I have explained the ways to get current date/time in java with example programs. Java has the Date class available in java.util package, this class encapsulates the current date and time. We will use this class in our program along with SimpleDateFormat to fetch the date/time in desired format.

Rating Detail

 Stars  Percentage  Total Vote
 One star  Vote LeftVote MiddleVote Right 35.16%  141
 Two starsTwo star  Vote LeftVote MiddleVote Right 5.49%  22
 Three starsThree starsThree stars  Vote LeftVote MiddleVote Right 8.98%  36
 Four starsFour starsFour starsFour stars  Vote LeftVote MiddleVote Right 8.73%  35
 Five starsFive starsFive starsFive starsFive stars  Vote LeftVote MiddleVote Right 41.65%  167

Caste Your Vote

 Rating  Selection  Guidelines
 Poor:     Very disappointing, useless.
 Fair:     Below average, disappointing but not useless.
 Good:     About average in its class.
 Very Good:     Above average for its category.
 Excellent:     One of the best Tutorials in its category.





Advertisements