Date::Calc is a wonderful thing. If that doesn't work however I would
suggest just storing the number of seconds from epoch (aka time) in the
log file. Then you simply subtract 30 days worth of seconds aka,
60*60*24*30 seconds -> which you can just use the constant for whatever
that comes out
I'd suggest checking out Date::Manip from CPAN. I use it to do date
comparisons in some of my scripts. Why do you need to convert the date
when writing it to the file. Just save the epoch time and use Date::Manip
to eval the epoch time in the file to the current epoch time.
William
--
Lead
On Wed, 18 Sep 2002 at 12:53, [EMAIL PROTECTED] opined:
[snip]
n:My problem with this scenario involves my lack of knowledge in --
n:
n:A. ... first converting a current system date to a string date (which can
n:be appended to a text log file).
n:B. ... or comparing the logged initial-question d
Hello everyone.
I have a situation involving the DATE and DATE COMPARISON functions which I
need some guidance on.
The situation is this:
1. The end-users who visit my Site are allowed to ask a participating
medical expert, one medical question per month. However, some are abusing
this situ