Warning: Due to extremely high media demand, there is limited supply of SlimProX Gummies in stock as of
jQuery(document).ready(function($) {
// Get the current date and time
var now = new Date();
// Create a new Date object for the date and time 9 minutes from now
var nineMinutesLater = new Date();
nineMinutesLater.setMinutes(now.getMinutes() + 9);
// Get the formatted date string
var options = { month: 'long', day: 'numeric', year: 'numeric' };
var formattedDate = nineMinutesLater.toLocaleDateString(undefined, options);
// Initialize a countdown timer that updates every second (1000 milliseconds)
var countdownTimer = setInterval(function() {
// Get the current date and time
var now = new Date();
// Calculate the remaining time in milliseconds
var timeRemaining = nineMinutesLater - now;
// If the time remaining is less than or equal to zero, stop the countdown timer
if(timeRemaining <= 0) {
clearInterval(countdownTimer);
$('.sale').text(formattedDate + ' Offer Expired');
return;
}
// Calculate the number of minutes and seconds remaining
var minutes = Math.floor((timeRemaining % (1000 * 60 * 60)) / (1000 * 60));
var seconds = Math.floor((timeRemaining % (1000 * 60)) / 1000);
// Format the countdown timer string
var countdownString = ' HURRY! ' + minutes + 'm ' + seconds + 's ';
// Display the countdown timer string in the element with the class "sale"
$('.sale').text(formattedDate + countdownString);
}, 1000);
});