Here you can find the source of getSystemTimestamp()
public static Timestamp getSystemTimestamp()
//package com.java2s; //License from project: Apache License import java.sql.Timestamp; public class Main { /**//from w w w . j a va2 s.co m * Returns the current timestamp. * * @return Timestamp */ public static Timestamp getSystemTimestamp() { return new Timestamp(System.currentTimeMillis()); } }