Jun 25, 2004 Thread starter #3 billbose Programmer Jan 15, 2001 66 US so todays time is my $the_time = time; is it possible to subtract a day or two from this? Upvote 0 Downvote
Jun 25, 2004 #4 uida1154 Programmer Mar 1, 2004 163 NL I have not check it, but the following module might help: http://search.cpan.org/~stbey/Date-Calc-5.3/Calc.pod Upvote 0 Downvote
I have not check it, but the following module might help: http://search.cpan.org/~stbey/Date-Calc-5.3/Calc.pod
Jun 29, 2004 #6 PaulTEG Technical User Sep 26, 2002 4,469 IE my $now=time; my $yesterday = $now-86400; my $day_before = $now-(86400*2); I think Date::Calc is standard now though, so you should probably go with that --Paul It's important in life to always strike a happy medium, so if you see someone with a crystal ball, and a smile on their face ... Upvote 0 Downvote
my $now=time; my $yesterday = $now-86400; my $day_before = $now-(86400*2); I think Date::Calc is standard now though, so you should probably go with that --Paul It's important in life to always strike a happy medium, so if you see someone with a crystal ball, and a smile on their face ...
Jun 29, 2004 #7 uida1154 Programmer Mar 1, 2004 163 NL Lately I have the habbit of first checking if there is already a module doing what I want to do and if all fails write code myself. Upvote 0 Downvote
Lately I have the habbit of first checking if there is already a module doing what I want to do and if all fails write code myself.
Jun 29, 2004 #8 PaulTEG Technical User Sep 26, 2002 4,469 IE spell::checker not enough on lsnguage --P It's important in life to always strike a happy medium, so if you see someone with a crystal ball, and a smile on their face ... Upvote 0 Downvote
spell::checker not enough on lsnguage --P It's important in life to always strike a happy medium, so if you see someone with a crystal ball, and a smile on their face ...