Java SQL Date Create getTodayDate()

Here you can find the source of getTodayDate()

Description

get Today Date

License

Apache License

Declaration

public static Date getTodayDate() 

Method Source Code

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

import java.util.Date;

public class Main {
    public static Date getTodayDate() {
        long date = System.currentTimeMillis();
        java.sql.Date result = new java.sql.Date(date);

        return result;
    }//from   ww w  .  java2  s. c  o  m
}

Related

  1. getSQLDate()
  2. getSysDate()
  3. getSysDate()
  4. getSysdate(String format)
  5. getSysDateGMTToday()
  6. getTodayDate()
  7. getTodaySqlDate()
  8. getTodaySqlDate()