Teviot
you can achieve the sambe result without installing Dansguardian or Squidguard, but just creating a custom template for squid's config file..
please search with google for squid time based acl.
anyway, ip to be blocked must be fixed.. or, otherwise, you have to create the acl for all your dhcp ip range (google will tell you more)
HTH