# PHP and the UNIX Timestamp

**URL:** <https://forum.kirupa.com/t/php-and-the-unix-timestamp/165465>\
**Category:** programming\
**Created:** [October 11, 2005, 10:17am UTC](https://forum.kirupa.com/t/php-and-the-unix-timestamp/165465 "2005-10-11T10:17:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![red\_A](https://avatars.discourse-cdn.com/v4/letter/r/48db29/32.png) [@red\_A](https://forum.kirupa.com/u/red_A)\
**Post date:** [October 11, 2005, 10:17am UTC](https://forum.kirupa.com/t/php-and-the-unix-timestamp/165465/1 "2005-10-11T10:17:02Z")

</div>

In regards to this tutorial, how would i be able to insert a value into mySQL using PHP, and using tis timestamp feature add that value to that inserted value, so that i know when it was entred!?! i hopw i’m making sense.

I have an application that inserts into a mySQL database, and a user will insert an event from a webpage interface that inserts data into my db using PHP, now i want to have an option, so that when a user inserts a new events that a date and time value be assigened to this event, so that when its retrived, it would print out: this event was entred on: October 10, 2005 at 12:22 !!
