Timestamp to UNIX

Hello dear Gliders!

Please, tell me how to convert timestamp into UNIX format.

Should I use JavaScript for it? And if so, what is the code?

Hi Alina, is this what you are looking for?

return Math.floor(new Date(p1).getTime() / 1000);

Oh yes, thank you so much :pray:

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.