Alternatively you can also use the java.util.Date class..
new java.util.Date() gives you the current date and time.
We go to Calendar class especially when we need to do some date time calculations. Nothing wrong in using it for getting the current date/time either.
OCPJP 6
But how did the elephant get like that? What did you do? I think all we can do now is read this tiny ad: