Autor Beitrag
Ryazor
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 29



BeitragVerfasst: Mi 05.03.03 22:51 
Hi nochmal :)
Wie kann ich feststellen, welcher
? Wochentag ("Montag", "Dienstag", ...)
? Monatsname ("Januar", "Februar", ...)
gerade eingestellt ist?
Gerne nehm ich auch englische Namen oder auch Abkürzungen oder Zahlen (dann mach ich eben ne Switch-Case abfrage :D ).
THX!
ErnestoChe
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 528

Win 2000 pro, CRUX 2.0
Delphi 6 Pers, Open K3
BeitragVerfasst: Mi 05.03.03 22:58 
Hi

switch case ???

Das hier ist ein Delphi Forum und kein C-Forum
jörgi
Hält's aus hier
Beiträge: 3



BeitragVerfasst: Do 06.03.03 00:27 
Wie wärs mit:

ausblenden Quelltext
1:
2:
3:
4:
5:
function Now: TDateTime;

function FormatDateTime(const Format: string; DateTime: TDateTime): string;

function DayOfWeek(Date: TDateTime): Integer;


sind alle in der unit sysutils drin
8)
Ryazor Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 29



BeitragVerfasst: Do 06.03.03 08:08 
@Jörgi: Vielen Dank, probiere ich nachher mal aus :D
@ErnestoChe: Meine natürliche eine Case-Anweisung :D Bin eben noch kein Profi *g*