2025 Schedule
PDT 08:00 – 13:00 | EDT 11:00 – 16:00
BST 16:00 – 21:00 | CEST 17:00 – 22:00
EEST 18:00 – 23:00 | IST 20:30 – 01:30
const timezones = new Map([
["PDT", -7],
["EDT", -4],
["BST", 1],
["CEST", 2],
["EEST", 3]
//["IST", 5.5] IST is hardcoded because of :30 difference
]);
var currentTime = "BST";
function updateTimezones(newTime)
{
if(currentTime === newTime)
return;
let elms = document.querySelectorAll(".custom_timedisplay");
elms.forEach((element) => {
let time = element.innerHTML;
let offset = 0;
if(currentTime === "IST")
{
let correction = parseInt(time.substring(3));
correction = correction - 30;
if(correction < 0)
{
correction = correction + 60;
offset = 6;
}
else
offset = 5;
let correctString = String(correction);
if(correction = 60)
{
correction = correction - 60;
newOffset = 6;
}
else
newOffset = 5;
let correctString = String(correction);
if(correction < 10)
correctString = "0" + correctString;
if(correction == 0)
correctString = "00";
time = time.substring(0,2) + ":" + correctString;
}
else
newOffset = timezones.get(newTime);
let hour = parseInt(time.substring(0,2));
hour = hour - offset + newOffset;
if(hour = 24)
hour = hour - 24
let hourString = String(hour);
if(hourString { element.innerHTML = newTime; });
}
PDT (UTC - 7)
EDT (UTC - 4)
BST (UTC + 1)
CEST (UTC + 2)
EEST (UTC + 3)
IST (UTC + 5:30)