require "timelocal.pl"; @old_time = ($sec, ..., $isdst); $old_seconds = &timelocal( @old_time); $new_seconds = time(); if ( $new_seconds - $old_seconds > 3600 * 24 * 15) { print "Interval is greater than 15 days\n"; }
-Mark
In reply to Re: Need Advice: Date difference revisted
by kvale
in thread Need Advice: Date difference revisted
by emilford
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |