Formatting a date string - PHP [duplicate]
问题 This question already has answers here : Convert one date format into another in PHP (15 answers) Closed 6 years ago . I have a dynamically allocated date from a search engine api results set entered into a multidimensional array, $search_results['Date'] There are two types of Date Data returned, first engine returns, for three result tests: Example 1: 2013-07-22T12:00:03Z Example 2: 2013-07-23T18:18:15Z Example 3: 2013-07-21T23:57:04Z And for the same items, different engine: Example 1: