time zone independent date checking