Basically, the first week of the year is the one that includes the first
thursday of the year.

This is the ISO definition, as far as I know.

Regarding the accounting week, unfortunately there is no specific nor
universal rule. It can be totally custom and in some cases you can't handle
it otherwise than through a definition table.

If you find the magic formula, please let me know!

-- Denis Faivre - [EMAIL PROTECTED]
-- Ablivio - http://www.ablivio.com


At 10:16 09/05/2001 -0500, you wrote:
>I'm searched the archives with no luck.  Anyone have a "week of year"
>function that they'd be willing to share?  Input would be date and output
>would be the week number.  I would prefer the "accounting week" but would be
>glad for anything.
>
>Thanks,
>Dave
>
>
>
>-- 
>For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
>
>


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to