validation of post dates