check date/time