> For the complete documentation index, see [llms.txt](https://learnhtml.gitbook.io/project/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://learnhtml.gitbook.io/project/type-datetime-local-ok.md).

# Type datetime-local (ok)

<figure><img src="/files/qlXHj84SkWGg0UxSfv12" alt=""><figcaption></figcaption></figure>

```html
<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<title>Document</title>
		
	</head>
	<body>
		<label for="pickup_time">Pickup Date/Time</label>
			<input type="datetime-local" name="pickup_time" id="pickup_time" required>
	</body>
</html>
```
