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() throws Exception 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import java.util.Date;

public class Main {
    public static java.sql.Date GetSqlDate() throws Exception {
        Date cDate = new Date();
        return new java.sql.Date(cDate.getTime());
    }//from   w ww .j a v  a2 s  . c  o m
}

Related

  1. getSqlCurrentDate()
  2. getSqlCurrentDate()
  3. getSqlDate()
  4. getSQLDate()
  5. getSqlDate()
  6. getSysDate()
  7. getSysDate()
  8. getSysdate(String format)
  9. getSysDateGMTToday()