I have the date and time for the form submission being printed by PHP on the results page, but I need to get it into the email as well to provide a timestamp for the form submission. Here is the code:
How do I pass this to the email template? Thanks!
// Variable for hours
echo date("l, F d, Y" ,time());
$hourdiff = "1"; // hours difference between server time and local time
$timeadjust = ($hourdiff * 60 * 60);
$melbdate = date(" H:i",time() - $timeadjust);
print ("$melbdate"«»);
How do I pass this to the email template? Thanks!