I have a unix timestamp and I want to convert it to a format like this 2018-09-01T12:06:54+0000
The closest I found is this way new Date(unix_timestamp).toISOString()
But, this prints it in the following manner 1970-01-18T04:14:15.076Z
How can I print it in the format mentioned above?