Welcome to WordPress. This is your first post. Edit or delete it, then start writing!
(function(){ /* change these variables as you wish */ var due_date = new Date('2023-04-27'); var days_deadline = 60; /* stop changing here */ var current_date = new Date(); var utc1 = Date.UTC(due_date.getFullYear(), due_date.getMonth(), due_date.getDate()); var utc2 = Date.UTC(current_date.getFullYear(), current_date.getMonth(), current_date.getDate()); var days = Math.floor((utc2 - utc1) / (1000 * 60 * 60 * 24)); if(days > 0) { var days_late = days_deadline-days; var opacity = (days_late*100/days_deadline)/100; opacity = (opacity 1) ? 1 : opacity; if(opacity >= 0 && opacity
Welcome to WordPress. This is your first post. Edit or delete it, then start writing!
Hi, this is a comment.
To get started with moderating, editing, and deleting comments, please visit the Comments screen in the dashboard.
Commenter avatars come from Gravatar.