Unix Epoc

Is the time at the Unix Epoch equal to zero (0) ??

Debbie

The Unix time number is zero at the Unix epoch, and increases by exactly 86 400 per day since the epoch.

How would I represent the Unix Epoch in the DateTime format?

Debbie

Whose DateTime format?


date(DATE_ISO8601, 0)


1970-01-01T00:00:00+0000

you would first need to decide whether you wanted your mysql table to store an actual datetime value, in which case your choices for datatype are DATETIME and TIMESTAMP, or whether you wanted to store the actual unix epoch number, in which case your choice is limited to INTEGER