Java Day dateValue(Date d)

Here you can find the source of dateValue(Date d)

Description

date Value

License

Open Source License

Declaration

public static String dateValue(Date d) 

Method Source Code

//package com.java2s;
import java.text.SimpleDateFormat;
import java.util.Date;

public class Main {
    private static final SimpleDateFormat sdf = new SimpleDateFormat(
            "yyyy.MM.dd HH:mm:ss z");

    public static String dateValue(Date d) {
        return sdf.format(d);
    }// w ww .  ja  v a2  s.c o  m
}

Related

  1. day2Day(String startDate, String endDate, String format)
  2. day2ThuesDay(Date date)
  3. dayDiff(Date date1, String date2)
  4. dayEnd(Date date)