Try 30 days of free premium.

How is the 'updated' formatted?

ivanskodje wrote 6 years ago: 1

I am aware that 'updated' (in Show) is recursively updated whenever a update to the show happens - however, I do not understand the formatting of it.

For example: "1505335502". What do the numbers mean?

Thank you. :)


gazza911 wrote 6 years ago: 1

That number is the timestamp of it last being edited.

It's in Unix Time (a.k.a epoch) which means the number of seconds since 1 January 1970 00:00:00.

P.S. Some coding languages like javascript return a value in milliseconds - new Date().getTime() - so you'd have to convert either one (÷/x 1000).

ivanskodje wrote 6 years ago: 1

Aha!
That makes more sense than an arbitrary random number that changes each time an updated is performed.

Thank you.

Try 30 days of free premium.