Hallo Nicepage,
Is het mogelijk dat in de footer het jaartal op 1 januari automatisch naar het volgende jaartal springt?
Fijn om van jullie te horen
Mvg,
Gert
Hallo Nicepage,
Is het mogelijk dat in de footer het jaartal op 1 januari automatisch naar het volgende jaartal springt?
Fijn om van jullie te horen
Mvg,
Gert
Hi,
You can use, for example, any js script to display the current date. Custom js can be added to the HTML element. For example:
<h4 id="myID"></h4>
<script>
// Creating Date Object
var dateobj = new Date();
// Year from above object
// is being fetched using getFullYear()
var dateObject = dateobj.getFullYear();
// Printing current year
document.getElementById("myID").innerHTML =
"The Current Year is : " + dateObject;
</script>
Please let us know if you have any further questions.
...................................................
Sincerely,
Olivia
Nicepage Support Team
Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp
The date is an example. Is there a code I can insert in the footer that automatically sets the correct year so that it always shows the correct year on New Years?
The date is an example. Is there a code I can insert in the footer that automatically sets the correct year so that it always shows the correct year on New Years?Hi Gert,
Looks like the date is wrong in your server as the PHP function takes the current date from your server system.
...................................................
Sincerely,
Hella
Nicepage Support Team
Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp
Hello Gert,
Could you please attach a screenshot for us so we could more clearly understand what element with the year you are talking about?
...................................................
Sincerely,
Negat Veri
Nicepage Support Team
Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp