Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2019 08:11 AM
In my NON scoped app i used gs.dateDiff to get difference between two dates and it worked perfectly.
I am now in a scoped app and cannot use gs.dateDiff.
says to use GlideDateTime.subtract(d1, d2);
that returns a duration object of the form: 2 Days 23 Hours
How do i convert the duration object to seconds?
Solved! Go to Solution.
Labels:
- Labels:
-
Scripting and Coding