Hi team,
I have an issue on adding expiry date on certificate. My code is:
else if ($dateitem == CUSTOMCERT_DATE_EXPIRY_DATE) {
$timetoadd = 364*24*60*60;
$date = $issue->timecreated + $timetoadd;
}
I don't want to use timecreated, because timecreated is not changing when student attempt again in next year, then the date will still same.
For example:
Is there any variable beside timecreated, such us certificate issued date ?
Thank You.