title: How to convert Gregorian date (in seconds) to unix timestamp in PHP
body: <p>I have a webservice returning timestamps in Gregorian seconds.</p>
  
  <p>How do I convert Gregorian date (in seconds) to unix timestamp in PHP?</p>