RE: [PHP] date parsing

2005-09-13 Thread Jim Moseby
Greetings all, I am trying to find a function or a way to parse a date that has the following format 2005124 or 20051204. When I have a date that has a single digit (ie month, day) all the date/time function seem to go bizarre. When it is a full 8 digit string everything is fine.

Re: [PHP] date parsing

2005-09-13 Thread Dragan Stanojevic - Nevidljivi
Philippe Reynolds wrote: Greetings all, I am trying to find a function or a way to parse a date that has the following format 2005124 or 20051204. Well, the truth is, computers are stupid, and you need to explain this kind of date format to him by rewriting such date in a way that a

Re: [PHP] date parsing

2005-09-13 Thread Philippe Reynolds
Much appreciated all, I was kindda hopping that I missed something, some mysterious function... My solution to this is: if a value like 2005416 to ignore it and only look for 2005/4/16 or 20050416. Cheers Phil -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: