PHP 4.0 Bug #9902: Converting to/from mysql timestamp

From: Date: Wed, 21 Mar 2001 16:56:06 +0000
Subject: PHP 4.0 Bug #9902: Converting to/from mysql timestamp
Groups: php.dev 
Request: Send a blank email to php-dev+get-49637@lists.php.net to get a copy of this message
From: mail@scottbrinker.com Operating system: Red Hat Linux 7.x PHP version: 4.0.4pl1 PHP Bug Type: Feature/Change Request Bug description: Converting to/from mysql timestamp I propose some new functions for those of us that use PHP and mySQL together on a daily basis... I would suggest a function that acts like getdate() which produces an array of time and date data from a mySQL timestamp (YYYYMMDDHHMMSS). Along these lines, functions which convert between a unix timestamp and a mySQL timestamp would be useful. Surely I'm not the only one that has to include my own custom functions to produce these results. Having standard distribution-based versions of these functions would make my and others work a lot easier. -- Edit Bug report at: http://bugs.php.net/?id=9902&edit=1

« previous php.dev (#49637) next »