Hi there,
in nph-build.cgi the subroutine build_update_newpop has this code:
$new_date = $LINKDB->get_date (time - (86400 * $LINKS{build_new_cutoff}));
Is there anyway to override time so that I can specify my date ranges.
example. today is June 9, 2001 but I want the new date to be evaluated as if it were June 1, 2001. This is an ongoing thing, so I don't want to have to go into the script to change it each time. I can handle passing in my date paramater, I just can get the:
$LINKDB->get_date (time - (86400 * $LINKS{build_new_cutoff})); to evaluate it properly.
I've tried:
$usethisdate="2001-06-01";
$LINKDB->get_date ($usethisdate - (86400 * $LINKS{build_new_cutoff})); to evaluate it properly.
Hope it's clear what I'm trying to accomplish, I'm not sure what else to try.
Anyone have any ideas?
thanks.
in nph-build.cgi the subroutine build_update_newpop has this code:
$new_date = $LINKDB->get_date (time - (86400 * $LINKS{build_new_cutoff}));
Is there anyway to override time so that I can specify my date ranges.
example. today is June 9, 2001 but I want the new date to be evaluated as if it were June 1, 2001. This is an ongoing thing, so I don't want to have to go into the script to change it each time. I can handle passing in my date paramater, I just can get the:
$LINKDB->get_date (time - (86400 * $LINKS{build_new_cutoff})); to evaluate it properly.
I've tried:
$usethisdate="2001-06-01";
$LINKDB->get_date ($usethisdate - (86400 * $LINKS{build_new_cutoff})); to evaluate it properly.
Hope it's clear what I'm trying to accomplish, I'm not sure what else to try.
Anyone have any ideas?
thanks.