Skip to content

Instantly share code, notes, and snippets.

@StickmanNinja
Created June 23, 2019 22:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save StickmanNinja/cde904dc43c3b783d2df16a957e1444b to your computer and use it in GitHub Desktop.
Save StickmanNinja/cde904dc43c3b783d2df16a957e1444b to your computer and use it in GitHub Desktop.
An html form for users to select a date.
<form action="" method="post">
Date: <input type="text" name="year" placeholder="2019">/<input type="text" name="month" placeholder="12">/<input type="text" name="day" placeholder="28">
<br>
Time: <input type="text" name="hour" placeholder="12">:<input type="text" name="minute" placeholder="30"><select name="dayornight"><option value="am">AM</option><option value="pm">PM</option>
<br>
<input type="submit" value="Submit">
</form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment