PHP version of MYSQL NOW()


/ Published in: PHP
Save to your folder(s)

Gets the present time and date in PHP and formats it for input into a MYSQL database DATETIME field


Copy this code and paste it in your HTML
  1. $now = date('Y-m-d H:i:s', time())

URL: http://dream.adeli.ca

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.