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.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
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