What is the API for Date management in Java? How use the Java Date API for manipulating date object in Java?
Provide some of the examples.
Java programming language comes with rich set of API for working with date and time objects in Java. You can also use third party Java based Date API in your program, but Java default API is more than sufficient.
You can use Java Date API for manipulating date and working with many different format of date in Java.
Following example creates date object with the current date and time:
Date dt = new Date();
Following are best example of Java Date at roseindia.net: