I'm trying this but im getting exception at parse
{
val format = new SimpleDateFormat("yyyy-MM-dd'T'hh:mm:ss")
val format_input = new SimpleDateFormat("E, dd MMM yyyy hh:mm:ss Z")
format.format(
format_input.parse(
"Wed, 10 Jun 2020 10:16:24 GMT"
)
)
}