I want to get local time of Rome time zone. Didn't find any details on how to use moment sandbox built-in library in postman documentation here postman_sandbox_api_reference
what I have tried so far
var moment = require('moment');
console.log(moment().tz(environment.TimeZone).format());
error it throws - TypeError | moment(...).tz is not a function
another attempt-
var moment = require('moment-timezone');
console.log(moment().tz(environment.TimeZone).format());
error it throws - Error | Cannot find module 'moment-timezone'
Where I'm going wrong? can anyone point me in right direction.
Thanks