$month = $temp1[30]; $limit = $month + 3; # 90 days = 3 months if ($month >= $limit) { print "Time's up!"; } else { print "You still have some time, enjoy it!"; }