Converting unix timestamp to utc date

I am working on the backend server test and I have to convert unix timestamp to utc date can anybody help?

If you’re going to be working with a lot of funky date logic, there are some useful libraries. But if you’re doing more straightforward date handling like this, you can use the JavaScript Date object.

Thank you so much for your help