public class Utils { /** * Returns a java.sql.Timestamp equal to the current time **/ public static java.sql.Timestamp now() { return new java.sql.Timestamp(new java.util.Date().getTime()); } }