title: JavaScript to translate date formats
body: <p>I'd like to have a piece of js that will automatically translate a given date format to different date formats.</p>
  
  <p>In my Database I have all dates formatted as such: ex. 1941-10-30 08:00:00</p>
  
  <p>I would like the code to pick the dates out of that string and convert them to 30.10.1941 and separate the time stamp. </p>
  
  <p>Can I get some pointers to get me going? I am a relatively new coder with js</p>
  
  <p>Thanks in advance</p>