Discussions
How to resolve the File Upload Timezone Issue?
We have a custom script to upload data into netsuite for postings. The records in the file are in EST. When we upload the data, they are changed to PST but I'm not sure where or how. Our system is set for EST in the settings.
How do we preserve the EST date in the file when we upload into Netsuite. The issue is creating a problem when posting at the end of the month for posting periods.
File Record Date: 3/27/2023 1:19:20 PM
Script Date Function:
function parseDateTime(dateStr){
var date = dateStr.split(' ');
if(date[1]){
var time = date[1].split('.')[0];