At 17:05 2009-09-15, Eurico Chagas Filho <[email protected]>
wrote:
>Generalize from this code...
>dDate= CTOD([01/01/2009])+38*7 && Somewhere in the week
Off by one error! If the first of the year is the first day of
a week (however defined), then dDate will contain the date that is
the first day of the 39th (not 38th) week.
It is better to use ^ date notation so the code is not reliant
on the set date value.
So try
dDate={^2008.12.31})+38*7
[snip]
Sincerely,
Gene Wirchenko
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message:
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.