in reply to Days since is broken!
#!/usr/bin/perl use strict; use warnings; use CGI qw/:standard/; use CGI::Carp 'fatalsToBrowser'; use Time::Local; print header; my $start = timegm(0, 0, 0, 9, 1, 2004); printf "%d", int((timegm(localtime) - $start)/(24*60*60)); [download]
my $days_ago = int( (time - timelocal(0,0,0,9,1,2004)) / 86400); [download]
-- Randal L. Schwartz, Perl hacker Be sure to read my standard disclaimer if this is a reply.