Java SQL Date Create getSqlDate()

Here you can find the source of getSqlDate()

Description

get Sql Date

License

Open Source License

Declaration

public static java.sql.Date getSqlDate() 

Method Source Code

//package com.java2s;

import java.util.*;

public class Main {

    public static java.sql.Date getSqlDate() {
        return new java.sql.Date(getTime());
    }//from w w  w. j  av a 2s.com

    public static long getTime() {
        Date dt = new Date();
        return dt.getTime();
    }
}

Related

  1. getLastSundayDate()
  2. getLongDate(String strDate)
  3. getSqlCurrentDate()
  4. getSqlCurrentDate()
  5. getSQLDate()
  6. getSqlDate()
  7. GetSqlDate()
  8. getSysDate()
  9. getSysDate()