Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DayOfTheYear 1

Status
Not open for further replies.

MLNorton

Programmer
Nov 15, 2009
134
US
I am testing TheDayOfTheYear function with the following code in Delphi 7:

var
myDate : TDateTime;

begin
myDate := EncodeDate(2002, 10, 29);
ShowMessage('20/10/2002 day of year = '+
IntToStr(DayOfTheYear(myDate)));
end;
I get an error:

Undeclared inentifier: "DayOfTHeYear".

Other DateTime functions work.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top