title: Convert text to other format
body: <p>So i have an input field which gives the value "2020-03-10". I need to convert this to "10-03-2020". I don't even need it to be a date, just a value is okay. </p>
  
  <p>I feel like it is really easy, but I still can't find it with my search queries on here and google :p </p>
  
  <p><code>&lt;input type="text" id="search-text"/&gt;</code></p>