Android Year Offset Get getYearMonthDay2()

Here you can find the source of getYearMonthDay2()

Description

get Year Month Day

Declaration

public static String getYearMonthDay2() 

Method Source Code

//package com.java2s;

public class Main {

    public static String getYearMonthDay2() {

        java.util.Date date1 = new java.util.Date();
        java.sql.Date date3 = new java.sql.Date(date1.getTime());
        return date3.toString();
    }/*from w ww  .  j a  v a 2s . co  m*/
}

Related

  1. hasYearPassed(int year)
  2. yearOffset(Date date, int offset)
  3. getOneYearAgo()
  4. yearDays(int y)
  5. getYearMonthDay1()
  6. getYear_Second1()
  7. getYear_Second2()