0

I have a datetime format from an API that is formatted as so:

Thu, 17 Nov 2016 19:12:12 GMT

I am unsure how to format this in PHP to something that I can check for an hour difference. The problem is that this not one of the standard date time constant formats in PHP: http://php.net/manual/en/class.datetime.php

The 3 letter day and GMT timezone in the end is what's mostly tripping me up here.

imparante
  • 503
  • 9
  • 21

0 Answers0