What time zone is used on map/reduce scripts? Is i...
# general
l
What time zone is used on map/reduce scripts? Is it the server time zone which is PST, I think, or the time zone of the owner of the script, or something else? Thank you.
e
Server
l
Thank you.
b
the timezone of the Date is pacific time
when setting date time fields, netsuite interprets the Date according to the timezone of the current user
for map/reduce, that is company timezone
l
Oh so for M/R, it's the TZ in the Company Information page? Sorry but I don't quite get when your first 2 statements apply. For the second statement, is it when I enter or set a date or date/time in such fields (ex. Transaction Date), that would be my current timezone in the Set Preferences page at the time of saving the record?
b
the actual javascript Date uses Pacific timezone
that means setting its hours will do so in Pacific timezone
for example setting it to 0 will set it to 12 am pacific
if the company timezone is Eastern, then setting a datetime field to that Date you set to 12 am pacific will set 3 am eastern
l
@battk thank you!