Discussions
Ie: 2008 Ff: 108 ???
I am outputing some data to an HTML template.
If I use IE the date shows as June 25, 2008
If I use FireFox the date shows as June 25, 108
The code used to generate the Date is:
function xGetTodayLongDate()
{
var today = new Date()
var Month = today.getMonth();
var Day = today.getDate();
var Year = today.getYear();
var m_names = new Array("January", "February", "March","April", "May", "June", "July", "August", "September","October", "November", "December");
var Today = m_names[Month]+ " " + Day + ", " + Year;
return Today;
}
The code where I use the date looks like this:
var Blurb01 = xGetTodayLongDate() + "<br><br>" + "Dear " + nlapiLookupField('customer',CustomerID,'custentitydear',null) + ",<br><br>As I travel.....