If I'm right, you could use localtime to check the date six days from now, and see if it will be the 1st of the month:
my $six_days_from_now = (localtime(time + 6*24*60*60))[3]; if ($six_days_from_now == 1) { Do_Action(); }
buckaduck
In reply to Re: timed email reminder
by buckaduck
in thread timed email reminder
by data67
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |