How algorithm of strtotime(PHP Date function) Works?

algorithm, date, persian, php, time

Solution

You can browse the source code of PHP ( https://github.com/php/php-src) and search function to see its implementation.

UPDATE

Here is the algorithm of the function strtotime () https://github.com/php/php-src/blob/master/ext/date/php_date.c#L1324

Regards!.

Problem

- i wanna to know how strtotime (php Date function) work? - how Parse string Like "15 September 2012" to timeStamp - is there any better algorithm? my purpose is changing this function for Persian Language

Original source

Related problems