How to convert current date into string in java?

asked15 years ago
last updated12 years ago
viewed252.8k times
Up Vote144Down Vote

How do I convert the current date into string in Java?