Correct input values of strtotime

I want to convert a date by the following statement

$date=date('d M Y, H:m',strtotime($date));

It printed out 09 Sep 2012, 11:09 when I tried various values of $date:

11:00 AM Sunday, 09 Sep 2012
Sunday 09 Sep 2012, 11:00 AM
09 Sep 2012 11:00 AM

What date format does the strtotime() function need? It seems to me at least one of them meets the "English textual datetime description" condition.


Valid formats for strtotime are detailed here.

Need Your Help

Mysql Pivot View

mysql sql codeigniter pivot

I have a mysql table as below

Rails Background task overhead


Has anybody done a comparison of the overhead of the various background processing techniques?

Run .net code in a separate process

.net concurrency process

In an impersonation scenario related to Sharepoint I need to execute some code in a separate process (the process will run in the context of a certain user). I do not want to launch a separate

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.