get formatted time string for pgsql
===

All <br>
I have one problem i have use pgsql database in server and in pgsql one column has "timestamp with time zone" and i am upload time string through xml like '2012-07-11 04:45:18+GMT+05:30' but it accept like this '2012-02-16 19:47:22.652+05:30' <br><br>
So, How can i format time string in android? <br> 
Below is my function.

> Calendar c=Calendar.getInstance();<br>
DateFormat formatter = new SimpleDateFormat("yyyy-MM-dd hh:mm:ssZ");<br>
Log.v("AKDN", "Time string is:"+formatter.format(c.getTime()));<br>
return formatter.format(c.getTime());