Hi,
in my main js file where I put all my jQuery stuff I have following new funcitons:
function getDate(){
var currentTime = new Date();
var month = currentTime.getMonth() + 1;
var day = currentTime.getDate();
var year = currentTime.getFullYear();
return day"."+month+"."+year;
}
function getTime(){
var currentTime = new Date();
var hours = currentTime.getHours();
var minutes = currentTime.getMinutes();
if (minutes < 10){
minutes = "0" + minutes;
}
return hours":"+minutes;
}
...but when I have these functions added to my main js file the jquery part does not work anymore. any ideas?