php tutorials, php form validation
Archive Tutorials
Discussion Home
Login / Register

Board List
PHP programming
General

Links
How to save gas 25% or more
Marshall Reddick
Network Marketing Forums
Income Tax Help
Lose 10 Pounds in 3 Weeks
PHP Forum Script
Online Contest

Learn PHP in 47 hours!

Back to PHP programming

Search

MySQL timestamp different from PHP time MySQL timestamp different from PHP time

MySQL timestamp different from PHP time

by uclaboyz on Sun 02/12/2006 07:31 PM

Just want to share that when you create a table, and you have a field that is of timestamp data type, you will need to use unix_timestamp() function within your MySQL query to convert it to UNIX time, which is what PHP is based on.

[Reply] [Back to Top]

© Copyright 2006-2007.  All Rights Reserved. Site hosted by Small Business Web Design
how to start a blog | parenting tips website | Passive Income | baby websites