Topic: day of a week

Hello MVD!

How to display "DAY OF A WEEK" based from the computer clock!

Thanks!

Re: day of a week

Hello,
Try this out

procedure Form1_Button1_OnClick (Sender:TObject; Cancel:Boolean);
var
    dayofweek: string;
begin
  dayofweek := FormatDateTime('dddd', Now);
  ShowMessage(dayofweek);
end;
@thezimguy

Re: day of a week

THANK YOU - THE ZIM GUY!