Autor Beitrag
pringston
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 18



BeitragVerfasst: Di 15.04.03 15:05 
Hi Leuts

Wie kann ich ein Wert in min (z.B) in dem Format 'hh:nn:ss' in ein edit feld schreiben lassen?? ich weiß nich, vielleicht mit formatdatetime??? keine ahnung...

Danke und mfg Pringston

_________________
Bewußtsein ist das, was es nicht ist, und nicht das, was es ist!
fcg
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 360

WinXP
D3 Prof, D6 Pers
BeitragVerfasst: Di 15.04.03 15:12 
vielleicht hilft dir diese Seite ja weiter

www.grundlagen.delph...inen/datumzeit.shtml

Alles zum Thema Datum und Uhrzeit.

fcg

_________________
.: Wer für alles offen ist, kann nicht ganz dicht sein! :.
Delphianer23
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 156



BeitragVerfasst: Di 15.04.03 15:19 
ok, da kann ich meine "peinliche" Umrechnung wohl wieder wegmachen. [hehe]
pringston Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 18



BeitragVerfasst: Di 15.04.03 18:14 
hab mir die liste mal durchgeschaut!!

Danke ersteinmal, trotdem hab ich nicht brauchbares gefunden....

Kann mir vielleicht jemandes anders helfen???

wär nett, mfg pringston

_________________
Bewußtsein ist das, was es nicht ist, und nicht das, was es ist!
CenBells
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 1547

Win 7
Delphi XE5 Pro
BeitragVerfasst: Di 15.04.03 18:30 
hallo,
auf der seite ist doch der befehl

MinuteOfTime

angegeben....

ggf. deinen zeitstring mit strtodatetime vorher zu einer zeit machen...

Gruß
KEn
LCS
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1305
Erhaltene Danke: 1

WIN 7, WIN 8
Delphi XE5, Delphi XE, Delphi 2007
BeitragVerfasst: Mi 16.04.03 07:43 
Hi
wenn du einen Minuten-Wert hast dann mit:
ausblenden Quelltext
1:
2:
 edit1.Text := FormatDateTime('hh:nn:ss', EncodeTime(0, min, 0, 0));
 //min ist vom Typ word


Gruss Lothar

_________________
Der BH ist für die Brust, der Plan ist für'n Ar...