The time zone is only relevant when you want to convert that abstract time point into a human-readable string. @Anthony, It can only use the client's timezone. Hide or show elements in HTML using display property. There are hundreds of timezones in our world. When I deploy to server it breaks, because server is in another timezone. Check if an array is empty or not in JavaScript. Don't do that. This polyfill is only to bring this support. Parse and display dates in any timezone. Yeah, as others have pointed out - I think there is a mistake in this answer. How to get current formatted date dd/mm/yyyy in JavaScript ? This will format the date to the timezone required and return a string with the converted date. How to set placeholder value for input type date in HTML 5 ? How to set the default value for an HTML