How to convert Date to String in java

Tutorials Shared by the Internet Community

Advertisements


How to convert Date to String in java

Example program to convert Date to String in Java

Statistics

  • Total Hits - 31708

  • Total Votes - 240 votes

  • Vote Up - 69 votes

  • Vote Down - 171 votes

  • Domain - beginnersbook.com

  • Category - JAVA/Core JAVA

  • Submitted By - Chaitanya

  • Submitted on - 2014-01-03 21:14:45

Description

This tutorial will help you understand the ways to convert Date into a String in Java. We will be performing this conversion with the help of SimpleDateFormat (For specifying the pattern like dd/MM/yyyy etc.) and format() method of DateFormat class.    More detail...


Broken  |   Tweet  |   Facebook  |     |   Save  |   Liked  |   Down

Advertisements