Hi all, I am trying to access created date (create...
# suitescript
p
Hi all, I am trying to access created date (createddate) from sales order and the value that I am getting has format 14/6/2019 9:44pm, but I want the users timezone as well I.e the timezone of this field created date. Also, I saw this example in help answers: var date = new Date(); //Mon Aug 24 2015 172716 GMT-0700 (Pacific Daylight Time) var TOKYO = format.format({ value: date, type: format.Type.DATETIME, timezone: format.Timezone.ASIA_TOKYO }); //Returns "8/25/2015 92716 am" But on trying the example I am getting the same date in output as the input provided. Please help!!!