I want to insert the following into database in sql time date format. 

```
Sat May 02 19:01:30 PDT 2015

```

Here is my code:

```
Calendar calendar = Calendar.getInstance(Locale.US);
Date formattedDate = calendar.getTime();
Date = formattedDate.toString();
javaSqlDate = new java.sql.Date(calendar.getTime().getTime());

```

I am inserting the value like below:

```
ps.setTimestamp(7, javaSqlDate);

```