Page 1 of 1

C.C.C.Calendar

Posted: Mon Dec 04, 2006 2:07 pm
by greylegface
hello,

im trying to design a calender using flowcode, it should display the day of the month and the month, but to tell you the truth, i dont know where to start!!

any help would be appreciated...

thanks

grey

Posted: Mon Dec 04, 2006 3:46 pm
by Mark
I would start simply by extending the clock programme you have posted about elsewhere in this forum.

Instead of ending with, when minutes = 60 then Hrs = Hrs+1
then add when hrs = 24 then day = day +1
If day = 30 and month = (1, 4, 8, 11) Jan, April, Sept, Nov (??) then month = month plus 1 and day = 1
If day = 31 then month = month plus 1 and day = 1

All the above done with Flowcode decision diamonds.
(day checks will actually be at 31 and 32 days but that may be confusing in an illustration?).

Hope this helps.