Autor Beitrag
day
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 107



BeitragVerfasst: Mo 08.09.03 10:29 
hallo ich habe folgendes datumformat aus der datenbank
Apr 29 2003 12:00 AM ich möchte aber folgendes Datum in meinem grid darstellen 29.04.2003. Wie kann ich das Datum umwandeln?
Nightfly
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 163



BeitragVerfasst: Mo 08.09.03 10:37 
Sie dir mal in der Delphi Hilfe die Funktion FormatDateTime an, die sollte dir weiterhelfen.
day Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 107



BeitragVerfasst: Mo 08.09.03 14:17 
hallo
ich versuchte es mit folgender SQL syntax aber es funktioniert nicht.

CONVERT ( data_type [ ( length ) ] , expression [ , style ] )

Convert(datetime,Datum,104) AS DATUM

egal was für den style eingebe es ändert sich nichts an der Datumsausgabe. wo liegt der fehler?