// Countdown to the give date
function countdown(targetDate) {
	
	// Get the current date
	var currentDate = new Date();

	// Calculate the number of milliseconds in a day
	var msPerDay = 24 * 60 * 60 * 1000;
	// Calculate the time remaining
	var timeLeft = (targetDate.getTime() - currentDate.getTime());
	// Convert the remaining time to days
	var daysLeft = Math.floor(timeLeft / msPerDay);
	
	// Handle the number of days left
	if (daysLeft > 0) {
		return ("awakening in " + daysLeft + " days");
	}
	else {
		return ("Launching tonight!");
	}
	
}