# Time and date stamp for basic php mailer form

**URL:** <https://forum.kirupa.com/t/time-and-date-stamp-for-basic-php-mailer-form/326638>\
**Category:** Uncategorized\
**Created:** [January 1, 2012, 9:40pm UTC](https://forum.kirupa.com/t/time-and-date-stamp-for-basic-php-mailer-form/326638 "2012-01-01T21:40:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [January 1, 2012, 9:40pm UTC](https://forum.kirupa.com/t/time-and-date-stamp-for-basic-php-mailer-form/326638/1 "2012-01-01T21:40:40Z")

</div>

Hi,

I’m using the basic php mailer and it works very well. The only issue is that the time submitted in the reply email is 5 hours ahead. I’m using:

$date = date (“l, F jS, Y”);  
$time = date (“h:i A”);

Is there a way to have it display the correct time for EST?
