Java Date Create toDate(int date)

Here you can find the source of toDate(int date)

Description

to Date

License

Open Source License

Declaration

public static String toDate(int date) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import java.text.SimpleDateFormat;

import java.util.Date;

public class Main {
    public static String toDate(int date) {
        return new SimpleDateFormat("dd.MM.yyyy").format(new Date(date * 1000L));
    }//w w w  .ja  va 2 s  .  c o m
}

Related

  1. toDate()
  2. toDate(Calendar date)
  3. toDate(Date d)
  4. toDate(final Calendar calendar)
  5. toDate(final Date date)
  6. toDate(int flag, Date... date)
  7. toDate(long lastModified)
  8. toDate(long segundos)
  9. toDate(long time)