Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
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.....