Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Please note that on Saturday, April 18, 2026, at 8:00 PM Pacific Time, our Case Management System will undergo a scheduled maintenance for approximately 15 minutes. During this time, case creation via SuiteAnswers will be unavailable and inbound calls will be routed to Customer Service.
Calculating time since last case update or creation
I'm trying to calculate the time since a case was updated or created. Looking into the case data fields, the only related information is the creation date. However, scanning this forum and the help files didn't give me any information on how this date is stored. I tried to add a debugging statement into my script, but it shows the value of the creation date to be empty. How do I work with the date information stored in the case creation time field? How do I relate this information with that retrieved from the Date() method?
The idea is to write a statement like:
0