Java Timestamp Now nowTimestamp()

Here you can find the source of nowTimestamp()

Description

now Timestamp

License

Open Source License

Declaration

public static Timestamp nowTimestamp() 

Method Source Code


//package com.java2s;

import java.sql.Timestamp;

public class Main {
    public static Timestamp nowTimestamp() {
        return new Timestamp(System.currentTimeMillis());
    }//from ww w  .  j a v a  2  s  .  com
}

Related

  1. getTimeStamp()
  2. getTimestamp()
  3. getTimestamp()
  4. isCurrentDataByStartdataAndEnddata(Timestamp startDate, Timestamp endDate)
  5. nowTimestamp()
  6. nowTimestamp()
  7. nowTimestamp()