Re: finding the day of the year
- From: anthony <mrmclarge@xxxxxxxxxxx>
- Date: Thu, 28 Jul 2005 08:24:26 +1200
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
.
- Follow-Ups:
- Re: finding the day of the year
- From: Jud McCranie
- Re: finding the day of the year
- References:
- finding the day of the year
- From: anthony
- Re: finding the day of the year
- From: Jud McCranie
- Re: finding the day of the year
- From: Heinrich Wolf
- Re: finding the day of the year
- From: Jud McCranie
- Re: finding the day of the year
- From: anthony
- Re: finding the day of the year
- From: Jud McCranie
- finding the day of the year
- Prev by Date: Re: Disable TListBox Redraw...
- Next by Date: Re: finding the day of the year
- Previous by thread: Re: finding the day of the year
- Next by thread: Re: finding the day of the year
- Index(es):
Relevant Pages
|