Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2020 08:05 AM
sample code:
var start = new GlideDateTime("2016-08-28 09:00:00");
var end = new GlideDateTime("2016-08-31 08:10:00");
gs.print(gs.dateDiff(start.getDisplayValueInternal(), end.getDisplayValueInternal(), true)); // returns the number of seconds as String