Jump to content

Using a Mysql Timestamp field in PHP


rfeio

Recommended Posts

www.php.net/date

 

Take the timestamp and plug it into the date function with the filter you want.

 

If the MySQL Timestamp is setup not in all numbers

 

use www.php.net/strtotime  to convert it to a UNIX timestamp, which the date function accepts.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.