note 52522 modified in function.date by aidan

From: Date: Sun, 31 Jul 2005 12:35:08 +0000
Subject: note 52522 modified in function.date by aidan
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-92823@lists.php.net to get a copy of this message
<?php $mysql_datetime = date('Y-m-d H:i:s'); $mysql_date = date('Y-m-d'); $mysql_time = date('H:i:s'); ?> I'm probably not the only one who keeps forgetting it. --was-- $mysql_datetime = date('Y-m-d H:i:s'); $mysql_date = date('Y-m-d'); $mysql_time = date('H:i:s'); I'm probably not the only one who keeps forgetting it. http://php.net/manual/en/function.date.php

« previous php.notes (#92823) next »