title: Convert string Fri, 04 Aug 2017 13:07:44 into 04-08-2017 in unix
body: <p>I would like to convert the date <code>" Fri, 04 Aug 2017 13:07:44 GMT "</code> into <code>04-08-2017</code> .
  And code should recursively convert all string format into specified format. </p>