input field how take datetime from user in form code example Example: input datetime <input type="datetime-local">