LanceT Posted February 18, 2007 Share Posted February 18, 2007 Does CURDATE() no longer work with newer versions of PHP? Link to comment https://forums.phpfreaks.com/topic/39072-curdate/ Share on other sites More sharing options...
LazyJones Posted February 18, 2007 Share Posted February 18, 2007 CURDATE() has never been a PHP function but can be found from mysql Link to comment https://forums.phpfreaks.com/topic/39072-curdate/#findComment-188176 Share on other sites More sharing options...
utexas_pjm Posted February 18, 2007 Share Posted February 18, 2007 <?php date('Y-m-d h:i:s'); ?> Will give you the current date in PHP. You can, of course, get the date in any format you wish: http://www.php.net/date. Link to comment https://forums.phpfreaks.com/topic/39072-curdate/#findComment-188242 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.