PHP and MySQL syntax: Difference between revisions

Jump to navigation Jump to search
m
Line 13: Line 13:
the human readable time format ex: 2010-12-21 10:05:06
the human readable time format ex: 2010-12-21 10:05:06
* php: echo date("y-m-d H:i:s", 1292897201 ); // convert the time stamp 1292897201 to the human readable time format
* php: echo date("y-m-d H:i:s", 1292897201 ); // convert the time stamp 1292897201 to the human readable time format
* mysql: ? {{Exclaim}}


convert human-readable time to timestamp
convert human-readable time to timestamp

Navigation menu