Date Calculation

J. Landman Gay jacque at hyperactivesw.com
Thu Nov 29 19:10:37 EST 2012


On 11/29/12 3:23 PM, Mike Kerner wrote:

>     *if* dayNumber=1 *then* *# Sunday, move to previous week*
>
>        theOffset=6
>
>     *else* *# Monday to Saturday*
>
>        theOffset=dayNumber-2
>
>     *end* *if* *# dayNumber=1*

Alas, Mike has been lost at C.

:)

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the use-livecode mailing list