I need to add the current date into a prepared statement of a JDBC call. I need to add the date in a format like yyyy/MM/dd.
yyyy/MM/dd
I\'ve try with
These are all too long.
Just use:
new Date(System.currentTimeMillis())