Here you can find the source of getSystemTimestamp()
public static Timestamp getSystemTimestamp()
//package com.java2s; import java.sql.Timestamp; import java.util.Calendar; public class Main { public static Timestamp getSystemTimestamp() { return new Timestamp(getSystemTime()); }/* w ww. j a va2s . c o m*/ public static long getSystemTime() { return Calendar.getInstance().getTime().getTime(); } }