Convert timestamp value to date-time?

Thinksamuel's icon

Hello

Max Patch
Copy patch and select New From Clipboard in Max.

I have a clock that counts in seconds in an epoch timestamp way (seconds since 1970). I was wondering if it is possible to convert that value to a human readable date and time? I have this patch that converts a value in weeks-...-milliseconds but that does not give me a date value such as 1 December 2015, 15:07:78.
Any idea how I can do this?

Jan M's icon

check out this:

The JavaScript Date API has it all ... ;)