add a simple date and time judgment program