الوقت المتبقي على شهر رمضان 1448هـ:
جاري التحميل...
var countDownDate = new Date("Feb 8, 2027 00:00:00").getTime();
var x = setInterval(function() {
var now = new Date().getTime();
var distance = countDownDate - now;
var days = Math.floor(distance / (1000 * 60 * 60 * 24));
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
document.getElementById("countdown-timer").innerHTML =
days + " يوم " + hours + " ساعة " + minutes + " دقيقة " + seconds + " ثانية ";
if (distance < 0) {
clearInterval(x);
document.getElementById("countdown-timer").innerHTML = "🌙 مبارك عليكم شهر رمضان!";
}
}, 1000);