datetime field type html5 with seconds code example Example: input datetime <input type="datetime-local">