That does not return any particular format, just a Date object which is not much more than a number of milliseconds that corresponds to some point in time.
If you are trying to get that date and store it into the "userdate" column, then
you should not have to worry about the format if you are using a PreparedStatement. For example, you should be able to do something like this:
Now, if you are trying to build an sql
string and use a generic Statement to execute it, then you do have to format the date into a String first. As Paul suggested, for that you need to use a SimpleDateFormat. But if possible, you should use a PreparedStatement. Aside from better performance, it also prevents you from having to worry about formatting the date, escaping quotes, etc.