Java Date String Format formatDate(String date)

Here you can find the source of formatDate(String date)

Description

format Date

License

Apache License

Declaration

public static String formatDate(String date) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

public class Main {

    public static String formatDate(String date) {
        date = date.substring(0, 19);/* ww w.ja  v  a  2 s.co m*/
        return date;
    }
}

Related

  1. formatDate(int year, int month, int day)
  2. formatDate(Integer date)
  3. formatDate(Integer day, Integer month, Integer year)
  4. FormatDate(String aDate)
  5. formatDate(String date)
  6. formatDate(String date)
  7. formatDate(String date)
  8. formatDate(String date, int format)
  9. formatDate(String dateString, String delimiter)