Autor Beitrag
Sina4ever
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 76



BeitragVerfasst: Di 12.09.06 10:59 
Hi,


ich möchte z.B. den 01.04.2007 haben, und bestimmen welcher Tag dann ist.
Kann ich das irgendwie rausbekommen?

Sina
ZeitGeist87
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1593
Erhaltene Danke: 20

Win95-Win10
Delphi 10 Seattle, Rad Studio 2007, Delphi 7 Prof., C++, WSH, Turbo Pascal, PHP, Delphi X2
BeitragVerfasst: Di 12.09.06 11:02 
Hallo!

so zum Bleistift:

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
function GetWochentag(datum: TDateTime): string;
var wochentag: string;
begin
  getwochentag:= '';
  wochentag := LongDayNames[DayOfWeek(datum)];
  getwochentag:= wochentag;
end;


LG
Stefan

_________________
Wer Provokationen, Ironie, Sarkasmus oder Zynismus herauslesen kann soll sie ignorieren um den Inhalt meiner Beiträge ungetrübt erfassen zu können.


Zuletzt bearbeitet von ZeitGeist87 am Di 12.09.06 11:03, insgesamt 1-mal bearbeitet
Littleboxer
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 41

Windows 2000,

BeitragVerfasst: Di 12.09.06 11:03 
delphi-hilfe: DayOfTheWeek und DayOfWeek
Sina4ever Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 76



BeitragVerfasst: Di 12.09.06 11:29 
ok, teste ich mal!