hi,
Sofern ein Datum in der DB "2006-06-09" heisst, kann ich ja mit
DATE_FORMAT(slt1.datum,'%w')
weitere Informationen ziehen (hier der Wochentag).Geht das auch mit einem UNIX-Timestamp?
Einen UNIX-Timestamp kannst du mit FROM_UNIXTIME() in ein MySQL-Datumsformat umwandeln, welches dann auch für die normalen Datumsfunktionen wie DATE_FORMAT verständlich ist.
DATE_FORMAT(FROM_UNIXTIME(unix_timestamp),'%w')
gruß,
wahsaga
--
/voodoo.css:
#GeorgeWBush { position:absolute; bottom:-6ft; }
/voodoo.css:
#GeorgeWBush { position:absolute; bottom:-6ft; }