Here you can find the source of getNowSQLTime()
public static java.sql.Time getNowSQLTime()
//package com.java2s; /**//from ww w. ja v a2 s . co m * Highlights words in a string. Words matching ignores case. The actual * higlighting method is specified with the start and end higlight tags. * Those might be beginning and ending HTML bold tags, or anything else. * <p> * * This method is under the Jive Open Source Software License and was * written by Mark Imbriaco. * * @param string * the String to highlight words in. * @return a new String with the specified words highlighted. */ public class Main { /** * Gets the now SQL time. * * @return the now SQL time */ public static java.sql.Time getNowSQLTime() { java.sql.Time sqlTime = new java.sql.Time(getNowLong()); return sqlTime; } /** * Gets the now long. * * @return the now long */ public static long getNowLong() { long nCurrentTime = System.currentTimeMillis(); return nCurrentTime; } }