Java SQL Date Create getCurrentDate()

Here you can find the source of getCurrentDate()

Description

get Current Date

License

Open Source License

Declaration

public static Date getCurrentDate() 

Method Source Code


//package com.java2s;
import java.sql.Date;

public class Main {
    public static Date getCurrentDate() {
        java.util.Date utilDate = new java.util.Date();
        return new java.sql.Date(utilDate.getTime());
    }/*from w ww  . ja  v a2s. c om*/
}

Related

  1. currentDate()
  2. currentDate()
  3. getCurrDate()
  4. getCurrentDate()
  5. getCurrentDate()
  6. getCurrentDate()
  7. getCurrentDate()
  8. getCurrentDate()
  9. getCurrentDate()