Here you can find the source of getCurentTimestamp()
public static Timestamp getCurentTimestamp()
//package com.java2s; import java.sql.Timestamp; public class Main { /**//from ww w.j ava2s. c om * Gets the curent timestamp. * * @return the curent timestamp */ public static Timestamp getCurentTimestamp() { return new Timestamp(System.currentTimeMillis()); } }