Java Timestamp getCurrTimestamp()

Here you can find the source of getCurrTimestamp()

Description

get Curr Timestamp

License

Apache License

Declaration

public static java.sql.Timestamp getCurrTimestamp() 

Method Source Code

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

public class Main {
    public static java.sql.Timestamp getCurrTimestamp() {
        return new java.sql.Timestamp(System.currentTimeMillis());
    }/*w w w.ja  v  a  2 s.com*/
}

Related

  1. generateTimestamp()
  2. getBeforeDate(final Timestamp baseTime, final int period, final int unit)
  3. getCalendarTimestamp(Calendar cal)
  4. getCurentTimestamp()
  5. getCurFullTimestampStr()
  6. getCurTime2Timestamp()
  7. getCurTimestamp()
  8. getCurTimestamp()
  9. getTimeDifference(Timestamp startTime, Timestamp endTime)