Java SQL Date Create getCurrentDBDate()

Here you can find the source of getCurrentDBDate()

Description

get Current DB Date

License

Open Source License

Declaration

public static java.sql.Date getCurrentDBDate() 

Method Source Code

//package com.java2s;

public class Main {
    public static java.sql.Date getCurrentDBDate() {
        java.sql.Date current = new java.sql.Date(System.currentTimeMillis());
        return current;
    }/*ww  w  .  j  a v a2s .c  om*/
}

Related

  1. getCurrentDateStart()
  2. getCurrentDateStr(String strFormat)
  3. getCurrentDateString()
  4. getCurrentDateWithMinutePrecision()
  5. getCurrentDayStartDate(Date date)
  6. getCurrentSQLDate()
  7. getCurSQLDate()
  8. getCurSQLDateInString(String pstrDateFormat)
  9. getDataMaior(java.sql.Date data1, java.sql.Date data2)