Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //This way only get YYYY-MM-DD how could I add time's part into it?
- PreparedStatement statement = con.prepareStatement(sql);
- long millis = System.currentTimeMillis();
- Date date = new Date(millis);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement