Has anyone got a fix for the date object, when i use the below, it returns the wrong month ie it returns 10 when it should be 11
var CurrentMonth = today.getUTCMonth();
below is the code i use, maybe it has an issue, any ideas?
var today = new Date();
var hours = today.getUTCHours();
var CurrentDate = today.getUTCDate()
var CurrentMonth = today.getUTCMonth();
var minutes = today.getUTCMinutes();?
var CurrentMonth = today.getUTCMonth();
below is the code i use, maybe it has an issue, any ideas?
var today = new Date();
var hours = today.getUTCHours();
var CurrentDate = today.getUTCDate()
var CurrentMonth = today.getUTCMonth();
var minutes = today.getUTCMinutes();?
Comment