title: Set file date modification via touch function
body: <p>I have read <a href="http://php.net/manual/en/function.touch.php" rel="nofollow noreferrer">http://php.net/manual/en/function.touch.php</a> on how to set a file modification date, but my date format is:</p>
  
  <pre><code>$date = "5/11/2017 08:32 PM EST";
  </code></pre>
  
  <p>How can I touch the file with that date?</p>
  
  <pre><code>$filename = "text.txt";
  
  if (!touch($filename, $date)) {
      echo 'Whoops, something went wrong...';
  } else {
      echo 'Touched file with success';
  }
  </code></pre>