On Jul 31, 12:36 pm, [EMAIL PROTECTED] (Chas Owens) wrote: > On 7/31/07, jeevs <[EMAIL PROTECTED]> wrote: > > 2007-08-09,0,0,0,0,0,0 > > 2007-08-11,0,0,0,0,0,1 > > 2007-08-11,0,0,0,0,0,1 > > 2007-08-12,0,0,0,2,3,2
> Use timelocal* or mktime** to convert the dates to the integer number > of seconds since 1970. No need. The format that the OP is using sorts correctly as strings. Just make sure you use the string comparison operators (gt, lt, ge, le, eq, ne) rather than the numeric comparison operators (>, <, >=, <=, ==, !=). Paul Lalli -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/