RE: SuiteScript 2.0 local DateTime or DateTime Math

My server is in the Northwest region but our corporate office is on the east coast…

I need to be able to record a datetime within a suitescript 2.0 scheduled script.

How can I either…


  1. retrieve the current, local (Eastern) timezone datetime, or…
  2. retrieve the current datetime and add 3 hours to it…



Scot Beginner Asked on November 1, 2019 in SuiteScript.
Add Comment
3 Answers

If I’ve understood your question correctly, maybe  this SuiteAnswer will help?

(btw it mentions SS1.0 but that’s easily re-written as SS2.0)

Rookie Answered on November 1, 2019.

Interesting…but it seems a bit of a hack to create a custom record for something that should be doable within code…

on November 1, 2019.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.