$ 0 0 You can use the following:new java.sql.Timestamp(System.currentTimeMillis()).getTime()Result:1539594988651