|No such thing as a small change|
Date Operationsby kidd (Curate)
|on Jul 02, 2002 at 01:35 UTC||Need Help??|
kidd has asked for the
wisdom of the Perl Monks concerning the following question:
I want to create a CGI so I can send reminders in a certain time, but Im having an awful time adding days to my date(huh?)
Maybe I should give an example...
Lets say today is 20/10/2002 dd/mm/yyyy
and the user wants to be reminded in 15 days, so the remind day must be: 4/11/2002 considering that October has 31 days(correct me if Im wrong)...
But Im done with the if/else 'cause it makes the process slower and has a lot of bugs...
If someone could give me and idea Ill be grateful, since im desperate...