Ich versuche, Datum mit MySQL DATE_FORMAT zu formatieren. Meine Suche istMySQL DATE_FORMAT()
SELECT first_name, middle_name, last_name, DATE_FORMAT(added_date,'%d/%m/%Y') AS AddDate
FROM profiles.
added_date ist das Datumsfeld auf Profiltabelle, wenn ich diese Abfrage ausführen es für AddDate, jede Anregung Null bringt.
Danke.
ist als added_date gespeichert Datum oder als INT? – Jared
Was ist der Typ der added_date-Spalte und was wird angezeigt, wenn Sie dies nicht formatiert bekommen? Ich nehme an, dass diese Spalte nicht für alle Profile null ist? ;) – Wirus