Re: PHP and MySQL date

From: Date: Tue, 16 Dec 2003 00:39:42 +0000
Subject: Re: PHP and MySQL date
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-172768@lists.php.net to get a copy of this message
Thanks both of you for the answer. I tried what both of you told me and I found very easy to use the datetime value under MySQL and then fetch it using strtotime() as fireball at sizzling dot com recommended at the "User Contributed Notes" of php.net's function.date.php page rather than using mktime() which can output incorrect dates. Thankis to both and everyone. "Cesar Aracena" <lists@icaam.com.ar> escribió en el mensaje news:20031215232302.62525.qmail@pb1.pair.com... > Hi all, > > I'm making a site and need some tables from wich I can extract date, time > and/or date/time later with PHP and I neved had very clear the way the > possible formats work with each other so my question is what is the best (or > recommended) method to store dates and/or times in a MySQL DB for PHP to > work later? > > Thanks in advanced, > ___________________________ > Cesar L. Aracena > Commercial Manager / Developer > ICAAM Web Solutions > 2K GROUP > Neuquen, Argentina > Tel: +54.299.4774532 > Cel: +54.299.6356688 > E-mail: lists@icaam.com.ar

« previous php.general (#172768) next »