in reply to Re: Re: Days since is broken!
in thread Days since is broken!

I'm not sure why you're calling timegm twice. Why not just:
my $days_ago = int( (time - timelocal(0,0,0,9,1,2004)) / 86400);

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.