Hi Guys, I have saved searches which I sent to the...
# suitescript
n
Hi Guys, I have saved searches which I sent to the clients in Gmail using the Scheduled Script. The saved searches pulling the correct Date Created (Date/time) but the script is fetching the saved search results and showing it in the gmail but the Date/Time shown in mail is PST where I want that to be same as shown in saved search. Below is the Scheduled script:
b
Date objects serverside will format in the server's timezone, which is Pacific timezone
you can use N/format to format it using the current user's timezone and date preferences
or use https://momentjs.com/timezone/ to format is in whatever timezone or format you want