Java Script Date Stuck
I took a bit of code from the forums here for a date stamp on my html certificate. It seems to work fine the day I implement it, but then it gets stuck on that date and never changes.
Does anyone know how to fix it so it's pulling the current date?
Here is the code:
var m_names = new Array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December");
var d = new Date();
var month = d.getMonth();
var date = d.getDay();
var year = d.getFullYear();
var d = m_names[month] + " " + date + ", " + year;
var date = FormatDate();
//grab timestamp in date format