I am trying to convert a date string of the form:
yyyy/mm/dd hh:mm:ss
into a time (with the timelocal function). I am hoping someone has a regular expression that can help me extract the $hour, $min, $sec, $day, $month, $year needed by the tilelocal function