Autor Beitrag
Chatfix
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1583
Erhaltene Danke: 10

Win 10, Win 8, Win 7, Win Vista, Win XP
VB.net (VS 2015), MsSQL (T-SQL), HTML, CSS, PHP, MySQL
BeitragVerfasst: Di 24.09.02 18:56 
Wie kann ich ein TDate bzw TTime in einen String umwandeln.

Mit String() funktionierts nicht.

_________________
Gehirn: ein Organ, mit dem wir denken, daß wir denken. - Ambrose Bierce
DeCodeGuru
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1333
Erhaltene Danke: 1

Arch Linux
Eclipse
BeitragVerfasst: Di 24.09.02 19:02 
DateToStr, TimeToStr und DateTimeToStr. Wenn du dazu Hilfe brauchst, kannste in der Delphihilfe nachschauen. Da steht das alles drin und ein Beispiel ist auch dabei.

_________________
Viele Grüße
Jakob
Chatfix Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1583
Erhaltene Danke: 10

Win 10, Win 8, Win 7, Win Vista, Win XP
VB.net (VS 2015), MsSQL (T-SQL), HTML, CSS, PHP, MySQL
BeitragVerfasst: Di 24.09.02 19:06 
danke, ich hatte schon in der hilfe unter Typumwandlung gesucht, aber ncihts gefunden.. naja dafür hab ich ja Euch.. HEL :)

_________________
Gehirn: ein Organ, mit dem wir denken, daß wir denken. - Ambrose Bierce
DeCodeGuru
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1333
Erhaltene Danke: 1

Arch Linux
Eclipse
BeitragVerfasst: Di 24.09.02 19:21 
:mrgreen: das stimmt

_________________
Viele Grüße
Jakob
Luckie
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Di 24.09.02 19:29 
Besser: FormatDateTime formatiert einen Wert des Typs TDateTime.
Chatfix Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1583
Erhaltene Danke: 10

Win 10, Win 8, Win 7, Win Vista, Win XP
VB.net (VS 2015), MsSQL (T-SQL), HTML, CSS, PHP, MySQL
BeitragVerfasst: Di 24.09.02 19:33 
:?:

_________________
Gehirn: ein Organ, mit dem wir denken, daß wir denken. - Ambrose Bierce
Luckie
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Di 24.09.02 20:07 
ausblenden Quelltext
1:
Caption := FormatDateTime('hh:nn', now);					

Zeigt die aktuelle Zeit im Format StundeStunde:MinuteMinute an. Mit FormatdateTime hast du eine bessere Kontrolle über die Darstellung des Datums und der Uhrzeit. Kuck einfach mal in der Hilfe nach.
Chatfix Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1583
Erhaltene Danke: 10

Win 10, Win 8, Win 7, Win Vista, Win XP
VB.net (VS 2015), MsSQL (T-SQL), HTML, CSS, PHP, MySQL
BeitragVerfasst: Di 24.09.02 20:33 
achso.. ja danke :)

_________________
Gehirn: ein Organ, mit dem wir denken, daß wir denken. - Ambrose Bierce
DeCodeGuru
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1333
Erhaltene Danke: 1

Arch Linux
Eclipse
BeitragVerfasst: Di 24.09.02 20:34 
stimmt, FormatDateTime ist wirklich besser. Habe ich glatt vergessen zu posten.

_________________
Viele Grüße
Jakob