/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php // Source: http://www.richardlord.net/blog/dates-in-php-and-mysql // populates $datetime with a valid MySQL DATETIME value