How To: Use Moment() timezone in schedulers


While using moments you have an option to convert it to the time zone of your choice with the Nominal time in UTC. Use the following to convert moment derived time into the preferred time zone, the example below converts to IST Tz. 

moment().subtract(7, 'days').tz('Asia/Kolkata').format('YYYY-MM-DD')

For other time zones please refer to




Have more questions? Submit a request


Powered by Zendesk