How to set the UK timezone in javascript?

<!DOCTYPE html>
<html>
<body>

<h2>JavaScript new Date()</h2>

<p id="demo"></p>

<script>
var getUkTime= function(){

var d = new Date();
//This is the current date and time according to Indian Standard

// Below code sets time according to UK Standard output the date and time according to Uk Standard in P element with id="demo".
document.getElementById("demo").innerHTML =d.toLocaleString('en-US', { 			timeZone: 'Europe/London'});
}
getUkTime();
setInterval(getUkTime,1000);

</script>

</body>
</html>

You can set timezone for other countries for that you just have to change the value of timeZone for example ‘America/New_York’, ‘Australia/Sydney’, ‘Europe/Moscow’, ‘Europe/Berlin’, ‘Asia/Shanghai’, ‘Asia/Jerusalem’.

How to Add Product to Shopify?expoundsofttechsolution How to set UK timezone in javascript?