RE: [PHP-DB] Time Field
| From: | NIPP, SCOTT V \(SBCSI\) | Date: | Thu, 28 Oct 2004 15:15:03 +0000 |
| Subject: | RE: [PHP-DB] Time Field | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-37071@lists.php.net to get a copy of this message | ||
Why would you not simply use a 'datetime' field type? This gets
you exactly what you are looking for unless I am misreading what you are
doing here...
Scott Nipp
Phone: (214) 858-1289
E-mail: sn4265@sbc.com
Web: http:\\ldsa.sbcld.sbc.com
-----Original Message-----
From: Bomgardner, Mark A [mailto:mbomgardner@kletc.org]
Sent: Thursday, October 28, 2004 10:10 AM
To: php-db@lists.php.net
Subject: [PHP-DB] Time Field
When creating a time field in MySQL, its purpose is for elapsed time,
not time of day. Is it better to use this field or to combine it with
the date field when looking at inserting the start date and time of an
event?
Mark A. Bomgardner
Technology Specialist
KLETC