Re: [PHP] From 24/7/2013 to 2013-07-24

[email protected] (Robert Cummings)
Newsgroups php.general
Organization InterJinn
Message-ID <[email protected]>
On 13-07-26 05:33 PM, Jim Giner wrote:
> On 7/26/2013 5:29 PM, Robert Cummings wrote:
>> And so it follows, that my solution, thus far, is the only solution
>> posted that actually meets the requirements. Why you think my solution
>> does not perform is beyond me since a simple run of the code would
>> output the correct answer (yes I did test)-- mine also presumes the
>> European ordering for all input with components separated by a slash.
>>
>> Cheers,
>> Rob.
 >
> And my solution doesn't work?
>

I don't see any padding happening in your solution. Your solution produced:

     2013-7-24

The required solution is:

     2013-07-24

:)

Cheers,
Rob.
-- 
E-Mail Disclaimer: Information contained in this message and any
attached documents is considered confidential and legally protected.
This message is intended solely for the addressee(s). Disclosure,
copying, and distribution are prohibited unless authorized.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.