Date and time in forms according to HTML5. To enter correct date into the form with regard to format is not a trivial matter. Boths the user and the server have to interpret the entered string as the same day, regardless of national conventions.datetime-local. Several of the new values for the type attribute include those related to date/time: date, datetime, datetime-local, month, week, and time.HotSpot JVM Options Displayed: -XX:PrintFlagsInit The datetime-local type is used for date and time without a time zone. Support Browser: Safari, Opera.