finding the day of the year



Doews anyone know how I can find the day of the year. If I select a date with datepicker how can I then set about finding what number day of the year it is

eg: 1/1/2005 would be day 1
eg: 12/31/whatever year would be day 365 or 366 depending if it is a leap year.


I have had this code somewhere, but with disk crashes etc I no longer have it

Many thanks in advance

Anthony
.



Relevant Pages

  • Re: finding the day of the year
    ... >Doews anyone know how I can find the day of the year. ... >with datepicker how can I then set about finding what number day of the ... See the DayOfTheYear function ... Prev by Date: ...
    (alt.comp.lang.borland-delphi)
  • Re: finding the day of the year
    ... > Doews anyone know how I can find the day of the year. ... > with datepicker how can I then set about finding what number day of the ... DecodeDate (aDate, yr, mth, day); ... Prev by Date: ...
    (alt.comp.lang.borland-delphi)
  • Re: finding the day of the year
    ... >Doews anyone know how I can find the day of the year. ... >with datepicker how can I then set about finding what number day of the ... >leap year. ... Prev by Date: ...
    (alt.comp.lang.borland-delphi)