[ic] (no subject)

Shirlyn Wong swong74 at webprincess-designs.com
Sat Jul 12 10:18:28 EDT 2003


Here's something I use :

    $time = time() - 86400*30;
    ($day,$mon,$year)=(localtime($time))[3..5];
    $mon++; $year += 1900;

On Sat, 12 Jul 2003, Xavier GILLET wrote:

> Hi list,
> 
> I need to remove 30 days to this date format :
> 
> $today = sprintf "%04d%02d%02d%02d%02d%02d",
> (localtime)[5]+1900,(localtime)[4]+1, (localtime)[3],(localtime)[2],
> localtime)[1],(localtime)[0];
> 
> Thanks a lot for help.
> 
> 
> _______________________________________________
> interchange-users mailing list
> interchange-users at icdevgroup.org
> http://www.icdevgroup.org/mailman/listinfo/interchange-users
> 

-- 
Ciao ?:-)
Shirlyn, the WebPrincess



More information about the interchange-users mailing list