]> git.mxchange.org Git - mailer.git/blobdiff - inc/reset/reset_birthday.php
Caching of expensive PHP functions:
[mailer.git] / inc / reset / reset_birthday.php
index fb45557875151fd42256ddd2612d5f752ac79201..2ca54a1cbe9d94e9728a3f855a5699d3d05170d4 100644 (file)
@@ -49,9 +49,9 @@ if (!defined('__SECURITY')) {
 }
 
 // Get current day (01 to 31), month (01 to 12) and year (4-digits year)
-$day   = date('d', time());
-$month = date('m', time());
-$year  = date('Y', time());
+$day   = getDay();
+$month = getMonth();
+$year  = getYear();
 
 // Shall I include only active members?
 $add = '%s'; $value = '';