Justin, et al --
...and then Justin French said...
%
% On Wednesday, November 12, 2003, at 12:52 PM, David T-G wrote:
%
% >OK. So what are you filming? :-)
%
% www.preshrunk.com -- they are sending me short video diary entries from
% the road whilst on tour :)
Very cool! ain't modern techn
> > If the filename has anything to do with the date, then just
> sort it.
> > MM
> > is numeric and not alphabetic, right?
>
> I guess I should do some more testing -- didn't expect sort() would
> work on dates, but I'll happily go run some tests :)
This only really works if your format's YY
On Wednesday, November 12, 2003, at 12:52 PM, David T-G wrote:
OK. So what are you filming? :-)
www.preshrunk.com -- they are sending me short video diary entries from
the road whilst on tour :)
% know how to get the file names into an array, but I don't know how to
% sort the array so that th
Justin --
...and then Justin French said...
%
% Hi,
Hi!
%
% I have a dir of files saved in the following format: -MM-DD.mp4. I
OK. So what are you filming? :-)
% know how to get the file names into an array, but I don't know how to
% sort the array so that the files appear in date
surely sort() would do the trick?
Martin
> -Original Message-
> From: Justin French [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, 12 November 2003 12:13 PM
> To: php
> Subject: [PHP] sorting files by date
>
>
> Hi,
>
> I have a dir of files saved in th
Hi,
I have a dir of files saved in the following format: -MM-DD.mp4. I
know how to get the file names into an array, but I don't know how to
sort the array so that the files appear in date order. My guess was to
use strtotime() to get the date into a timestamp, then sort on the
timestamp
6 matches
Mail list logo