Form component for date, time and datetime inputs with automatic conversion to DateTime.