Detect when a user has joined chess.com

Sort:
Omed

Using the chess.com API, how can I detect when a user has joined chess.com? if I go to https://api.chess.com/pub/player/chesswahi the joined tag is just a bunch of random numbers. Is there a way to decipher this? is there another way?

icy

It’s the amount of seconds since the year 1970.

https://www.epochconverter.com

 

Omed
icy wrote:

It’s the amount of seconds since the year 1970.

https://www.epochconverter.com

 

I don't understand why is it the amount of seconds from 1970, why not when the user joined.

Omed

wait i just realized, thanks! why 1970 though weird.

YankeeBastid

If any of you were alive during the Y2K scare you would understand why it is important to use a starting reference. (from chatGPT):

PICK is a database management system that was developed in the 1960s and 1970s. It was one of the first database systems to recognize and address the potential problems related to date calculations that would arise when the year 2000 arrived, commonly referred to as the Y2K problem.

In PICK, dates were stored in a specific format that consisted of three digits representing the day of the year and two digits representing the year. For example, January 1st, 1999 would be represented as "00199". This format is known as the "Julian date format".

The use of the Julian date format made it easy for the PICK database to calculate and sort dates, as well as perform other date-related operations. It also made it possible to distinguish between dates that fell within the same year but on different days.

By recognizing and addressing potential date-related issues well ahead of the Y2K problem, PICK was able to avoid many of the problems that other databases experienced when the year 2000 arrived.

YankeeBastid

PICK was a multi-value structured db used primarily in Europe and in some major Industrial strength applications in the US. Revelation technologies are known for their applications. One of the more useful features of a multi-value db is you do not need to define fields in advance, rather you use a dictionary to define how you use a field's contents. Very powerful stuff.

Martin_Stahl

Unix and Linux use a start date for all date/time calculations, the epoch. That was the time chosen.

 

https://en.m.wikipedia.org/wiki/Epoch_(computing)

 

 

Omed

oh ok thanks 

ZeeceMC

just got a history lesson fr