Mailinglisten-Archive |
hi
> SELECT DATE_FORMAT('%Y-%m-%d %H:%i:%s', TimestampCol) AS Zeit;
>
> http://www.mysql.com/doc/D/a/Date_and_time_functions.html
>
> Das Select würde dann zurückgeben: 2001-05-08 13:29:55
das Date_format an eine normal selectanweisung dranhängen , dann kommt ne
zusätzliche spalte raus. TimestampCol sollte natürlich eine existierende
SQL-spalte sein wo ein timestamp drinsteht ..
cu
tobias
www.traffic-eye.de
php::bar PHP Wiki - Listenarchive