Create new java.sql.Timestamp
public class Main {
public static void main(String[] argv) {
System.out.println(new java.sql.Timestamp( System.currentTimeMillis() ));
}
}
public class Main {
public static void main(String[] argv) {
System.out.println(new java.sql.Timestamp( System.currentTimeMillis() ));
}
}