PHP parse date with Timezone+Offset using strtotime()

PHP's strtotime("2015-05-11 00:03:24 UTC+1") gives me the unix timestamp 1431302604. But the timestamp should be 1431299004.

Am I wrong? Or how can I correctly parse this date with PHP 5.4.


Try strtotime("2015-05-11 00:03:24+01:00")

Need Your Help

Need to come up an Excel 2010 equation

excel function excel-2010 equation

I imported data from a .txt file in a spreadsheet where the date of an actual data is 7/12/2011 but I have it as just 7/12 on .txt. After I changed the formatting in Excel 2010 I got 7/12/2013 inst...

Spirit Qi conditional parsing

parsing pdf boost-spirit

I am writing a pdf parsing library.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.