It has been awhile since I programmed on Basic09, so I'm not certain this is correct. Daynum:=MOD(Jdate,7) On May 19, 2017 7:37 PM, "phillip taylor" <ptaylor2446 at gmail.com> wrote: Can someone please give me a basic09 example that works for this command? Daynum = Jdate Mod 7 -- Coco mailing list Coco at maltedmedia.com https://pairlist5.pair.net/mailman/listinfo/coco