Hi,
I've got my certificate installed and printing just fine. How do I change so the date reads something like:
August 20-21, 2018
instead of just August 20, 2018?
I used this to print something that says
August 20, 2018
thru
August 21, 2018.
But they'd really like it to be the 20-21 thing instead:
$dayTwo = str_replace(' 0', ' ', strftime('%B %d, %Y',(strtotime("+1 days" .certificate_get_date($certificate, $certrecord, $course)))));
certificate_print_text($pdf, $x, $y + 340, 'C', 'centurygothic', '', 20, certificate_get_date($certificate, $certrecord, $course));
certificate_print_text($pdf, $x + 300, $y + 360, 'L', 'centurygothic', '', 20, "to");
certificate_print_text($pdf, $x + 20, $y + 360, 'C', 'centurygothic', '', 20, utf8_decode("".$dayTwo));
Lastly, what fields does certrecord have? Where's the code that I can see what's in this code class and methods?
Thanks so much everyone!!!
Lori