CRM Convert a Unix Timestamp to DateTime

CRM Convert a Unix Timestamp to DateTime

Hello, I am new to deluge and I am looking for some help please!

I have API integration in place from my website, one of the fields I have is a unix timestamp - which I can pass as a string, but in order to make it readable and of use I need to convert it to DateTime.

It looks like i'll need a script to achieve this, but I have no idea where to start. I assume I need to fetch the value from the field that has the Unix Timestamp, convert then write back to another DateTime field?

Any help starting me off with a code snippet would be appreciated.

Thanks.