Added support for date/time detection.