Kkanreg1bknJan 8, 2020
I've been modified demo_news.html for my website. But i've problem with current date that appear ini top right corner of website. How to change that date format or to hide that so that i can use my own date. Thanks
1 reply · opened Jan 8, 2020
I've been modified demo_news.html for my website. But i've problem with current date that appear ini top right corner of website. How to change that date format or to hide that so that i can use my own date. Thanks
Hello,
The following code is used at the bottom of the Page to add the Date:
// Current Date
var weekday = ["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],
month = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"],
a = new Date();
jQuery('.date-today').html( weekday[a.getDay()] + ', ' + month[a.getMonth()] + ' ' + a.getDate() );You can modify this or simply delete this to add your Custom Date.
Hope this Helps!
Let us know if we can help you with anything else or if you find any further issues.
Have the same question, or something new?
Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.
Reply on the dashboard