I am trying to get tweet information from twitter in json format. And store them into a database, but the problem is twitter's date format. I get date as string
String time = ((JSONObject)array.get(i)).get("created_at").toString();
It prints
Mon Aug 10 07:34:06 +0000 2015
for example. But of course i cannot store that in this format into database, how can i convert that to Mysql date time in java ? Any help is appreciated