Java Month Get getThisMonthDate()

Here you can find the source of getThisMonthDate()

Description

get This Month Date

License

Open Source License

Declaration

public static String getThisMonthDate() 

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 getThisMonthDate() {
        Date now = new Date();
        SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy/MM/");
        return dateFormat.format(now) + "01 00:00:00";
    }//from  w w  w. jav  a2  s  .c o  m
}

Related

  1. getStrThisMonth()
  2. getThisMonth()
  3. getThisMonth()
  4. getThisMonth()
  5. getThisMonthAndCycle()
  6. getThisMonthLastDate()
  7. getTsOfMonth(Date date, boolean isEnd, boolean isPrevious)
  8. getWeekOfMonth(String datetime)
  9. getWorkMonthLastDay(Date date)