Hi all -
In one of our templates, I am using some custom PHP to pull Freeform records, including entry_date. In the PHP, I display the entry_date like so:
echo "Subscribed on: " . date("g:i A O, F jS, Y", $subscriber_data["entry_date"]);
Oddly, the date that is displayed is off by four hours. For example, for a record entered at 8:24 PM on June 22nd, the above code displays: 12:24 AM -0500, June 23rd, 2008. What is odder still is that if I view the record within the EE control panel under Freeform’s Entries tab, it displays the date accurately (8:24). What am I doing wrong in my PHP code?
Thanks!
