title: Parse Date in Bash
body: <p>How would you parse a date in bash, with separate fields (years, months, days, hours, minutes, seconds) into different variables?</p>
  
  <p>The date format is: <code>YYYY-MM-DD hh:mm:ss</code></p>