home *** CD-ROM | disk | FTP | other *** search
- 5 rem nicht geeignet fuer schaltjahre
- 10 input"datum format ttmmjjjj ";d$
- 20 t=val(mid$(d$,1,2))
- 30 m=val(mid$(d$,3,2))
- 40 j=val(mid$(d$,5))
- 50 if m<1 or m>12 then run
- 60 if t<1 or t>31 then run
- 70 rem welche tagesnummer ?
- 80 if m>2 then n=int(30.6*(m+1))-63+t:goto 100
- 90 n=int(30.6*(m+13))-428+t
- 100 print"nummer"n
- 110 end
-