{"ScriptPreparationCode":"window.dsStart = \u00222020-02-19T00:51:53.623839\u002B00:00\u0022;\r\nwindow.dsEnd = \u00222020-02-19T01:23:10.283748\u002B00:00\u0022;","TestCases":[{"Name":"date with abs","Code":"var from = new Date(dsStart)\r\nvar to = new Date(dsEnd)\r\nvar res = Math.abs(from.getTime()-to.getTime()) \u003C 60 * 6000","IsDeferred":false},{"Name":"Momentjs","Code":"var from = moment(dsStart)\r\nvar to = moment(dsEnd)\r\nvar res = from.diff(to, \u0027seconds\u0027)","IsDeferred":false},{"Name":"Dayjs","Code":"var from = moment(dsStart)\r\nvar to = moment(dsEnd)\r\nvar res = from.diff(to, \u0027seconds\u0027)","IsDeferred":false},{"Name":"date without abs","Code":"var from = new Date(dsStart)\r\nvar to = new Date(dsEnd)\r\nvar res = from.getTime()-to.getTime()","IsDeferred":false}]}