is there a way to also to display actual time of submission? Similar to echo $date_created_usa;
I'll look at adding it to the next release. In the mean time, you can use $lead['date_created'] to get the date/time and parse it using PHP to get the desired format.
That would be great, thank you! And thanks for the code. Unfortunately, I'm not a PHP programmer, so I don't know how to go about adapting the code for my desired format. I'm looking to just show the time and in EST time. Thank you for the plugin.
Hi Jake, would you possibly be able to help me convert this from uk format and time to USA and ET?
[sourcecode language="php" gutter="true" firstline="1" highlight="" htmlscript="false"]
$date = $lead['date_created'];
$timestamp = strtotime($date);
echo date('H:i:s m/d/Y', $timestamp); /* see http://php.net/manual/en/function.date.php for additional date configurations */
Thanks so much, Jake! Really helped me out.