changed date from long to date (hopefully it works lorenz ;)