Java SQL Date Create currentDate()

Here you can find the source of currentDate()

Description

current Date

License

Open Source License

Declaration

public static Date currentDate() 

Method Source Code


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

import java.sql.Timestamp;
import java.util.Date;

public class Main {
    public static Date currentDate() {
        return new Timestamp(System.currentTimeMillis());
    }//w  ww.  ja va2  s . c o  m
}

Related

  1. createFutureDate(java.sql.Date lmpDate, int offSet)
  2. createRecGetStatementsUpdate(String tip, String imeFirstCap)
  3. createSqlDate(String dateStr)
  4. createStreamingStatement(Connection conn, boolean update)
  5. createUpdateStatement(Connection conn, String databaseName, String[] fieldsToUpdate, String[] selectionFields)
  6. currentDate()
  7. currentDate()
  8. getCurrDate()
  9. getCurrentDate()