Java SQL Date Create getTodaySqlDate()

Here you can find the source of getTodaySqlDate()

Description

get Today Sql Date

License

Apache License

Declaration

public static java.sql.Date getTodaySqlDate() 

Method Source Code

//package com.java2s;
//License from project: Apache License 

import java.util.Date;

public class Main {

    public static java.sql.Date getTodaySqlDate() {
        return new java.sql.Date(getToday().getTime());
    }//from  w  w  w.java 2s.c om

    public static Date getToday() {
        return new Date();
    }
}

Related

  1. getSysdate(String format)
  2. getSysDateGMTToday()
  3. getTodayDate()
  4. getTodayDate()
  5. getTodaySqlDate()