Android Today Get getToday()

Here you can find the source of getToday()

Description

get Today

Declaration

public static Date getToday() 

Method Source Code

//package com.java2s;

import java.util.Date;

public class Main {
    public static Date getToday() {
        Date now = new Date();
        Date today = new Date(now.getYear(), now.getMonth(), now.getDate()); //beginning of today
        return today;
    }//  w  ww.  java  2s. c o m
}

Related

  1. getNbDaysToDate(Calendar from, int toYear, int toMonth, int toDay)
  2. isToday(long time)
  3. today()
  4. today()
  5. isToday(long lTime)
  6. getToday00Time()
  7. getCurDateTimeinString()
  8. today()
  9. isToday(String sdate)