Skip to content

Commit

Permalink
"New date for countdown"
Browse files Browse the repository at this point in the history
  • Loading branch information
4rnv committed Mar 12, 2024
1 parent 5f970ba commit 00ec417
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/time.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const mins = document.querySelector('.mins');
const secs = document.querySelector('.secs');

// Set your target date here (year, month, day)
const targetDate = new Date(2024, 2, 11, 13, 15);
const targetDate = new Date(2024, 2, 13, 15, 45);

function getTimeRemaining(endtime) {
var total = Date.parse(endtime) - Date.parse(new Date());
Expand Down

0 comments on commit 00ec417

Please sign in to comment.