Re: Extracting multi dimensional array value
| From: | German Geek | Date: | Mon, 04 May 2015 09:20:53 +0000 |
| Subject: | Re: Extracting multi dimensional array value | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-324861@lists.php.net to get a copy of this message | ||
Yes I was endorsing min and max.
On Mon, 4 May 2015 10:45 am Shawn McKenzie <shawn@mckenzies.net> wrote:
> How about min()? Or for the newest max().
>
> On Fri, May 1, 2015 at 9:37 PM, Ron Piggott <
> ron.piggott@actsministries.org>
> wrote:
>
> >
> > I have the following array:
> >
> > Array
> > (
> > [es-PR] => 2014-11-04 08:22:07
> > [en-US] => 2009-04-05 09:00:00
> > [es-MX] => 2014-11-08 02:25:40
> > )
> >
> > How can I extract the oldest date from it? The language ISO order is
> > going to change randomly.
> >
> > Ron
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>