{"ScriptPreparationCode":"var dateObject = new Date(\u00272016-11-03T12:00:00Z\u0027);\r\nvar timezone = \u0027Australia/Perth\u0027;\r\nvar format = \u0027YYYY-MM-DDTHH:mm:ss\u0027;","TestCases":[{"Name":"Moment","Code":"function dateFormatTimestamp() {\r\n const nb = moment.utc().format(\u0027X\u0027);\r\n const timestamp = Math.floor(Number(nb));\r\n return timestamp * 1000;\r\n}\r\n\r\nvar ts = dateFormatTimestamp()\r\n","IsDeferred":false},{"Name":"Offset","Code":"function dateFormatTimestamp() {\r\n return Math.floor(Date.now() / 1000) * 1000;\r\n}\r\n\r\nvar ts = dateFormatTimestamp()","IsDeferred":false}]}