Young Carers Festival · YMCA Fairthorne Manor
Help Make the Young Carers Festival Possible
A weekend of freedom and joy for young carers — powered by people like you.
Festival kicks off in
0
Days
0
Hours
0
Mins
0
Secs
(function () {
// Target date/time: 26 June 2026, 16:00 local time
var targetDate = new Date("2026-06-26T16:00:00");
function updateCountdown() {
var daysEl = document.getElementById("ycf-countdown-days");
var hoursEl = document.getElementById("ycf-countdown-hours");
var minsEl = document.getElementById("ycf-countdown-mins");
var secsEl = document.getElementById("ycf-countdown-secs");
// If elements aren't on the page, do nothing
if (!daysEl || !hoursEl || !minsEl || !secsEl) return;
var now = new Date();
var diff = targetDate - now;
if (diff <= 0) {
daysEl.textContent = "0";
hoursEl.textContent = "00";
minsEl.textContent = "00";
secsEl.textContent = "00";
return;
}
var totalSeconds = Math.floor(diff / 1000);
var days = Math.floor(totalSeconds / (60 * 60 * 24));
var hours = Math.floor((totalSeconds % (60 * 60 * 24)) / (60 * 60));
var mins = Math.floor((totalSeconds % (60 * 60)) / 60);
var secs = totalSeconds % 60;
daysEl.textContent = days;
hoursEl.textContent = String(hours).padStart(2, "0");
minsEl.textContent = String(mins).padStart(2, "0");
secsEl.textContent = String(secs).padStart(2, "0");
}
updateCountdown();
setInterval(updateCountdown, 1000);
})();