Re: finding the day of the year



forgive me for being a bit dumb here, yes I have found the function and even found how to call it, I think this right DayOfTheYear(datetimepicker1.date); how do I get the result, where do I find that, Thank you for all your effort, I dont mean to bother you all but it's how I learn

Anthony











Jud McCranie wrote:
On Thu, 28 Jul 2005 04:51:44 +1200, anthony <mrmclarge@xxxxxxxxxxx>
wrote:


I am using the enterprise version of d6 so how does one do it please


That's strange, the DayOfTheYear function is in my D6 pro, in the
DateUtils unit, so it should be in Enterprise. (It is also in D2005
pro.) Have you looked in the help file?


But even if you don't have that, use the  StartOfTheYear function
(also in DateUtils unit) to get the first day of the year, subtract
that from your date, and add 1.

If that fails, it is easy to get the first day of your year and do it.

---
Replace you know what by j to email
.



Relevant Pages

  • Re: finding the day of the year
    ... >forgive me for being a bit dumb here, yes I have found the function and ... I think the DateUtils unit is only in Delphi 6 and later, ... Prev by Date: ...
    (alt.comp.lang.borland-delphi)
  • Dumb Question...Is OE Free ???
    ... Just purchased a new computer for digital audio...from a boutique mfg.; ... came loaded w/ XP Pro, SP2, 32-Bit. ... I know this is a dumb question...I've long since forgotten...but Outlook ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: Is Linux Really That Bad? Yes It IS!!!!!!!!!!!!!!!!!1
    ... > Dumb cunt....there's TWO versions. ... > Both new versions of DeepBurner (Free and Pro) are full of new ... > features, like always. ...
    (alt.os.linux.suse)
  • Re: Is Linux Really That Bad? Yes It IS!!!!!!!!!!!!!!!!!1
    ... > Dumb cunt....there's TWO versions. ... > Both new versions of DeepBurner (Free and Pro) are full of new ... > features, like always. ...
    (alt.os.linux)
  • excel, powerpoint
    ... i'm illiterate when it comes to computers so here's a dumb question... ... i have windows xp pro. ... version 2002 and i'm curious if i have powerpoint and ...
    (microsoft.public.excel.misc)