Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function changeDateFormat() {
- datecounter++;
- if (datecounter % 2 == 1) {
- fulldateContainer.innerHTML = date + "." + month + "." + year;
- } else {
- fulldateContainer.innerHTML = dateContainer.innerHTML = date & monthContainer.innerHTML = months;
- console.log(datecounter);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement