Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
Don’t miss your chance to meet our SuiteGurus—NetSuite Support professionals and subject matter experts with extensive experience in select product areas, including OneWorld, Advanced & Basic Accounting, Supply Chain Management, Receivables & Payables, CRM, Account Administration, and the SuiteCloud Platform. Full Conference attendees can prebook exclusive 30-minute one-on-one sessions for your product questions.
Spots are limited! Register through your Agenda Builder and find SuiteGuru under Agenda Enhancements.
format module, timezone in format function does nothing when type equal format.Type.TIMEOFDAY
I have been developing a server side script and it appears that if your format type is format.Type.TIMEOFDAY, then the timezone value is ignored.
var currentDate = new Date(); ==> Timezone is Pacific
currentDate:= Wed Nov 22 2017 01:22:29 GMT-0800 (PST)
var bossDate = format.format({
value: currentDate,
type: format.Type.DATETIME,
timezone: format.Timezone.AMERICA_NEW_YORK
});
bossDate is correctly converted to Eastern Standard Time. bossDate:=11/22/2017 4:22:29 am
var bossTime = format.format({
value: currentDate,
type: format.Type.TIMEOFDAY,
timezone: format.Timezone.AMERICA_NEW_YORK
});
bossTime = 1:22 am which is the time in Pacific