can I get the company's timezone and user's timezone in SuiteScript?
e
erictgrubaugh
02/18/2023, 3:04 PM
Company Timezone is available via `N/config`; you can load the Company Information values.
There is not necessarily a User in the Scheduled Script context.
d
David B
02/19/2023, 8:20 PM
If the user is calling an on-demand scheduled script that needs the user's timezone, could you have the calling script (UE, CS?) determine the user's timezone and pass it as a parameter to the scheduled script?
this 1
e
erictgrubaugh
02/19/2023, 8:25 PM
If no timezone is provided via parameter, default to the Company Timezone perhaps