in reply to Days since is broken!

This works fine for me (given you're using Time::Local). Maybe the clock on your system stalled :) ?

Replies are listed 'Best First'.
Re: Re: Days since is broken!
by Anonymous Monk on May 19, 2004 at 16:18 UTC
    #!/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));
    So you don't think it's the code?
      Are you loading from the browser's cache?